Files
preland/tests/render-preland.php
T
2026-10-21 17:24:14 +03:00

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';