7 lines
264 B
PHP
7 lines
264 B
PHP
<?php
|
|
if (PHP_SAPI !== 'cli') { http_response_code(404); exit; }
|
|
$_SERVER['HTTP_HOST'] = $argv[1] ?? 'zoomstage.online';
|
|
$_SERVER['SERVER_NAME'] = 'fixture.local';
|
|
$_GET = ['theme' => $argv[2] ?? 'light', 'indpic' => '1'];
|
|
require dirname(__DIR__) . '/index.php';
|