config.inc.php(include/config.inc.php)文件包含了系統(tǒng)運(yùn)行的核心配置,詳細(xì)參數(shù)介紹如下:
- define('DB_HOST', 'localhost');
- define('DB_USER', 'root');
- define('DB_PW', 'root');
- define('DB_NAME', 'phpcmsutf');
- define('DB_PRE', 'phpcms_');
- define('DB_CHARSET', 'utf8');
- define('DB_PCONNECT', 0);
- define('DB_DATABASE', 'mysql');
- define('PHPCMS_PATH', '/cms/phpcms_utf/');
- define('SHTML', 0);
- define('CONTENT_ROOT', PHPCMS_ROOT.'data/txt/');
- define('CACHE_STORAGE', 'files');
- define('CACHE_PATH', PHPCMS_ROOT.'data/cache/');
- define('CACHE_MODEL_PATH', PHPCMS_ROOT.'data/cache_model/');
- define('CACHE_PAGE', 0);
- define('CACHE_PAGE_PATH', PHPCMS_ROOT.'data/cache_page/');
- define('CACHE_PAGE_TTL', 3600);
- define('CACHE_PAGE_INDEX_TTL', 300);
- define('CACHE_PAGE_CATEGORY_TTL', 600);
- define('CACHE_PAGE_LIST_TTL', 900);
- define('CACHE_PAGE_CONTENT_TTL', 14400);
- define('SESSION_STORAGE', 'mysql');
- define('SESSION_TTL', 1800);
- define('SESSION_SAVEPATH', PHPCMS_ROOT.'/data/sessions/');
- define('SESSION_N', 0);
- define('MEMCACHE_HOST', 'localhost');
- define('MEMCACHE_PORT', 11211);
- define('MEMCACHE_TIMEOUT', 1);
- define('COOKIE_DOMAIN', '');
- define('COOKIE_PATH', '/');
- define('COOKIE_PRE', 'GYfcHpHaqq');
- define('COOKIE_TTL', 0);
- define('TPL_ROOT', PHPCMS_ROOT.'templates/');
- define('TPL_NAME', 'default');
- define('TPL_CSS', 'default');
- define('TPL_CACHEPATH', PHPCMS_ROOT.'data/cache_template/');
- define('TPL_REFRESH', 1);
- //附件相關(guān)配置
- define('UPLOAD_FRONT', 1);
- define('UPLOAD_ROOT', PHPCMS_ROOT.'uploadfile/');
- define('UPLOAD_URL', 'uploadfile/');
- define('UPLOAD_ALLOWEXT', 'doc|docx|xls|ppt|wps|zip|rar|txt|jpg|jpeg|gif|bmp|swf|png');
- define('UPLOAD_MAXSIZE', 1024000);
- define('UPLOAD_MAXUPLOADS', 100);
- define('UPLOAD_FUNC', 'copy');
- define('FTP_ENABLE', 0);
- define('FTP_HOST', '127.0.0.1');
- define('FTP_PORT', '21');
- define('FTP_USER', '');
- define('FTP_PW', '');
- define('FTP_PATH', '/');
- define('CHARSET', 'utf-8');
- define('TIMEZONE', 'Etc/GMT-8');
- define('DEBUG', 1);
- define('ADMIN_LOG', 1);
- define('ERRORLOG', 1);
- define('FILTER_ENABLE', 1);
- define('GZIP', 0);
- define('AUTH_KEY', 'etxALqOvuDhxuzogKMHP');
- define('PASSWORD_KEY', '');
- define('MEMBER_FIELDS', 'username,password,groupid,email,areaid,amount,point,modelid,message');
- define('ALLOWED_HTMLTAGS', '<a><p><br><hr><h1><h2><h3><h4><h5><h6><font><u><i><b><strong><div><span><ol><ul><li><img><table><tr><td><map>');
- define('LANG', 'zh-cn');
- define('ADMIN_FOUNDERS', '1');
- define('FILE_MANAGER', '1');
- define('ACTION_TEMPLATE', '1');
- define('EXECUTION_SQL', '1');
本頁內(nèi)容由塔燈網(wǎng)絡(luò)科技有限公司通過網(wǎng)絡(luò)收集編輯所得,所有資料僅供用戶參考了本站不擁有所有權(quán),如您認(rèn)為本網(wǎng)頁中由涉嫌抄襲的內(nèi)容,請及時(shí)與我們聯(lián)系,并提供相關(guān)證據(jù),工作人員會(huì)在5工作日內(nèi)聯(lián)系您,一經(jīng)查實(shí),本站立刻刪除侵權(quán)內(nèi)容。本文鏈接:http://caipiao93.cn/28185.html