tv/include/config.php
2025-11-28 14:28:58 +08:00

33 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
define('APP_DEBUG',0);//错误输出0=关闭1=开启
define('DEFAULT_RETURN_TYPE',0);//默认输出0=JSON格式,1=xml格式
define('USER_TOKEN_TIME',1800);// 用户状态在线有效期
define('DATA_PAGE_ENUMS',10);// 每页显示数据
define('DEFAULT_TIMEZONE','PRC');// 默认时区
define('INDEX_TEMPLATE','default');//首页模板
define('API_EXTEND_MULU','extend/api/');//api扩展目录
define('ADM_EXTEND_MULU','extend/adm/');//adm扩展目录
define('USER_PIC_MULU','data/pic/');//用户头像目录
define('ADM_LOG',1);//管理日志,0=关闭1=开启
define('USER_LOG',1);//用户日志,0=关闭1=开启
define('LOG_DEL',30);//日志删除时间
define('LOG_KEY','SbwxrbTMMiyQBrHC3zmTcEr7Js3p5nBJ');//日志KEY
define('FCPATH', str_replace("\\",'/', dirname(dirname(__FILE__)).'/')); // 网站根目录
define('WEB_URL',(($_SERVER['SERVER_PORT']==443) ? 'https':'http').'://'.$_SERVER['HTTP_HOST'].str_replace($_SERVER['DOCUMENT_ROOT'],(substr($_SERVER['DOCUMENT_ROOT'],-1) == '/') ? '/':'',dirname($_SERVER['SCRIPT_FILENAME']))); // 网站根目录
define('EDITION', 1.71); // 当前系统版本
?>