finishing header and footer, replaced file loadings with cache buster

This commit is contained in:
HB9HIL
2024-12-10 19:59:18 +01:00
parent bac89a2fe8
commit fbe630500c
3 changed files with 111 additions and 109 deletions

View File

@@ -37,6 +37,8 @@ class Paths
$fullpath = $_SERVER['DOCUMENT_ROOT'] . $filepath;
if (file_exists($fullpath)) {
return base_url($filepath) . '?v=' . filemtime($fullpath);
} else {
log_message('debug', 'File does not exist: ' . $fullpath);
}
return base_url($filepath);
}