Author: Derick Rethans (derickr)
Date: 2025-08-12T14:29:32+01:00

Commit: 
https://github.com/php/web-php/commit/89c11399b7aec5df40e10c0ed01fe22284480544
Raw diff: 
https://github.com/php/web-php/commit/89c11399b7aec5df40e10c0ed01fe22284480544.diff

Fixed filename access for filemtime/stat

Changed paths:
  M  include/header.inc


Diff:

diff --git a/include/header.inc b/include/header.inc
index b339b625d9..3da277344c 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -26,7 +26,7 @@ foreach($css_files as $filename) {
 $JS = [];
 if (isset($config["js_files"])) {
     foreach($config['js_files'] as $filename) {
-        $path = dirname(__DIR__) . $filename;
+        $path = dirname(__DIR__) . '/' . $filename;
         $JS[$filename] = @filemtime($path);
     }
 }

Reply via email to