From 88767b4c9682459a3f28f8706cd49d1dc4fae96e Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 22 Mar 2012 12:15:03 +0000 Subject: [PATCH] syntax --- core/page.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/page.class.php b/core/page.class.php index dd28bd75..b340d163 100644 --- a/core/page.class.php +++ b/core/page.class.php @@ -266,7 +266,7 @@ class Page { $file_data = preg_replace($pattern, $replace, $file_data); $css_data .= $file_data . "\n"; } - file_put_contents($css_cache_file, $css_data) + file_put_contents($css_cache_file, $css_data); } $this->add_html_header(""); @@ -276,13 +276,13 @@ class Page { $js_files[] = $js; $js_latest = max($js_latest, filemtime($js)); } - $js_cache_file = "data/cache/style.$js_latest.js"; + $js_cache_file = "data/cache/script.$js_latest.js"; if(!file_exists($js_cache_file)) { $js_data = ""; foreach($js_files as $file) { $js_data .= file_get_contents($file) . "\n"; } - file_put_contents($js_cache_file, $js_data) + file_put_contents($js_cache_file, $js_data); } $this->add_html_header(""); }