api#347: передавать и настраивать UTM part без ссылки в Preland
This commit is contained in:
1 parent
94619432a3
commit
0d350ed14b
23 files changed
+126
-47
No files matched your search
@@ -3,4 +3,6 @@ if (PHP_SAPI !== 'cli') { http_response_code(404); exit; }
|
||||
$_SERVER['HTTP_HOST'] = $argv[1] ?? 'zoomstage.online';
|
||||
$_SERVER['SERVER_NAME'] = 'fixture.local';
|
||||
$_GET = ['theme' => 'abcd' . (($argv[2] ?? 'light') === 'dark' ? '1' : '2'), 'indpic' => 'abcd1'];
|
||||
if (isset($argv[3])) $_GET['part'] = $argv[3];
|
||||
if (isset($argv[4])) $_GET['lang'] = $argv[4];
|
||||
require dirname(__DIR__) . '/index.php';
|
||||
Reference in new issue
Block a user