From 10859255040c9caa1ab4a15729b88c75211c10ab Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 22 Mar 2012 12:30:02 +0000 Subject: [PATCH] css=style, js=script --- core/page.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/page.class.php b/core/page.class.php index b340d163..dae6dd9b 100644 --- a/core/page.class.php +++ b/core/page.class.php @@ -272,7 +272,7 @@ class Page { $js_files = array(); $js_latest = 0; - foreach(array_merge(zglob("lib/*.js"), zglob("ext/*/style.js"), zglob("themes/$theme_name/style.js")) as $js) { + foreach(array_merge(zglob("lib/*.js"), zglob("ext/*/script.js"), zglob("themes/$theme_name/script.js")) as $js) { $js_files[] = $js; $js_latest = max($js_latest, filemtime($js)); }