1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-16 01:54:44 +02:00
This commit is contained in:
Awilum
2013-01-20 17:33:55 +02:00
parent 5315020c1e
commit 878aa46457
3 changed files with 8 additions and 14 deletions

View File

@@ -179,7 +179,7 @@ class Chunk
if ( ! file_exists(MINIFY . DS . 'theme.' . $current_theme . '.minify.' . $name . '.chunk.php') or
filemtime(THEMES_SITE . DS . $current_theme . DS . $name .'.chunk.php') > filemtime(MINIFY . DS . 'theme.' . $current_theme . '.minify.' . $name . '.chunk.php')) {
file_put_contents(MINIFY . DS . 'theme.' . $current_theme . '.minify.' . $name . '.chunk.php',
Minify::html(file_get_contents(THEMES_SITE. DS . $current_theme . DS . $name .'.chunk.php')));
MinifyHTML::process(file_get_contents(THEMES_SITE. DS . $current_theme . DS . $name .'.chunk.php')));
}
// Include chunk