* @package config * @version $Id: config.php 5068 2013-07-08 02:41:22Z wyd621@gmail.com $ * @link http://www.zentao.net */ /* Judge class config and function getWebRoot exists or not, make sure php shells can work. */ if(!class_exists('config')){class config{}} if(!function_exists('getWebRoot')){function getWebRoot(){}} /* Basic settings. */ $config = new config(); $config->version = '7.3'; // 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 = 'sid'; // requestType=GET: the session var name. $config->allowedTags = '