fix bug#272.

This commit is contained in:
wangchunsheng
2011-11-21 05:17:32 +00:00
parent 4063eaf614
commit df0d768bf5
6 changed files with 24 additions and 0 deletions
+2
View File
@@ -568,6 +568,8 @@ EOT;
*/
static public function exportConfigVars()
{
if(!function_exists('json_encode')) return false;
global $app, $config, $lang;
$defaultViewType = $app->getViewType();
$themeRoot = $app->getWebRoot() . 'theme/';