fix: align stage preland picker and demo layout
deploy-preland / deploy barbariskatest (push) Skipped
deploy-preland / deploy zoomstage.online (push) Successful in 19s
deploy-preland / deploy zoompixel.online (push) Skipped
deploy-preland / deploy zoompixel.ru (push) Skipped

This commit is contained in:
Panfilov Konstantin committed 2026-10-17 07:39:37 +03:00
1 parent 4fa9eebcfb
commit 45e20ed0cd
128 files changed
+196 -13

No files matched your search

+3 -2
View File
@@ -1,7 +1,8 @@
<?php
$demoBasePath = rtrim($assetsUriPrefix, '/') . "/images/demo/{$indpic}";
$demoLocalPath = __DIR__ . "/../images/demo/{$indpic}";
$demoDirName = 'demo' . ($indpic === '1' ? '' : '-' . $indpic);
$demoBasePath = rtrim($assetsUriPrefix, '/') . "/images/{$demoDirName}";
$demoLocalPath = __DIR__ . "/../images/{$demoDirName}";
$getAssetUrl = function (string $relativePath) use ($demoBasePath, $demoLocalPath): string {
$fullPath = $demoLocalPath . '/' . ltrim($relativePath, '/');