20250303#4

This commit is contained in:
User
2025-03-03 15:25:46 +03:00
parent a095b76e8d
commit ddb82ee395

View File

@@ -1,6 +1,6 @@
<?php <?php
$cashFile = preg_replace("'.config.*$'",'', __DIR__).'/var/routes/'.md5(__FILE__); $cashFile = dirname(__DIR__,2).'/var/routes/'.md5(__FILE__);
if(getenv("APP_MODE") == "PROD" && file_exists($cashFile)){ if(getenv("APP_MODE") == "PROD" && file_exists($cashFile)){
return unserialize(file_get_contents($cashFile)); return unserialize(file_get_contents($cashFile));