mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
finishing header and footer, replaced file loadings with cache buster
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user