From 70cf7fc176176544cb2af96f5457ccf5d96fa7a2 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 28 Jun 2011 02:24:14 +0000 Subject: [PATCH] + change for support js and css of extend. --- module/editor/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/editor/model.php b/module/editor/model.php index 2b6ebcf03b..8f608254cf 100644 --- a/module/editor/model.php +++ b/module/editor/model.php @@ -72,7 +72,7 @@ class editorModel extends model { $extensionList[$extensionFullDir] = array(); /* extend of lang is more a grade of directroy. */ - if($extensionDir == 'lang') + if($extensionDir == 'lang' or $extensionDir == 'js' or $extensionDir == 'css') { $langDirs = scandir($extensionFullDir); foreach($langDirs as $langDir)