mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-21 15:57:09 +00:00
Added admin page to update script caches.
This commit is contained in:
1 parent
3f9586951e
commit
af68690055
15 files changed
+142
-21
No files matched your search
@@ -0,0 +1,13 @@
|
||||
|
||||
<?php IncludeCom('dev/bootstrap3')?>
|
||||
|
||||
<h1>Update script cache</h1>
|
||||
<p>Click to each link to update cache. Don't forget change $g_config['engine_version'] version in file /core/config/main.php</p>
|
||||
<ul>
|
||||
<?php
|
||||
foreach ($cacheList as &$page) {
|
||||
$date = date('d.m.Y H:i:s', filemtime("./$page.cache"));
|
||||
echo ("<li><a href='pack?target=$page' target='_blank'>$page</a> $date</li>");
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
Reference in new issue
Block a user