diff options
Diffstat (limited to 'src/web/core/core.php')
-rw-r--r-- | src/web/core/core.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/core/core.php b/src/web/core/core.php index f1ce07e..feaecdf 100644 --- a/src/web/core/core.php +++ b/src/web/core/core.php @@ -25,8 +25,9 @@ abstract class Core { { if (ENVIRONMENT == 'devlopment') return time(); - $path = PHP_ROOT . '/' . $path; - return @filemtime($path); + if (isset(FILE_TIMES[$path])) + return FILE_TIMES[$path]; + return 0; } /** |