diff --git a/config/config.php b/config/config.php index df2e4fbdcc..46ea05babf 100644 --- a/config/config.php +++ b/config/config.php @@ -16,37 +16,36 @@ if(!class_exists('config')){class config{}} if(!function_exists('getWebRoot')){function getWebRoot(){}} /* Basic settings. */ -$config = new config(); $config->version = '9.2.1'; // The version of zentaopms. Don't change it. $config->charset = 'UTF-8'; // The charset of zentaopms. $config->cookieLife = time() + 2592000; // The cookie life time. $config->timezone = 'Asia/Shanghai'; // The time zone setting, for more see http://www.php.net/manual/en/timezones.php $config->webRoot = ''; // The root path of the pms. -$config->checkVersion = true; // Auto check for new version or not. /* The request settings. */ $config->requestType = 'PATH_INFO'; // The request type: PATH_INFO|GET, if PATH_INFO, must use url rewrite. -$config->pathType = 'clean'; // If the request type is PATH_INFO, the path type. $config->requestFix = '-'; // The divider in the url when PATH_INFO. $config->moduleVar = 'm'; // requestType=GET: the module var name. $config->methodVar = 'f'; // requestType=GET: the method var name. $config->viewVar = 't'; // requestType=GET: the view var name. $config->sessionVar = 'zentaosid'; // requestType=GET: the session var name. +$config->views = ',html,json,mhtml,'; + +/* 支持的主题和语言。Supported thems and languages. */ +$config->themes['default'] = 'default'; +$config->langs['zh-cn'] = '简体'; +$config->langs['en'] = 'English'; +$config->langs['zh-tw'] = '繁體'; + $config->allowedTags = '