常用常量

CML_PROJECT_PATH 工程根目录绝对路径。

CML_APP_FULL_PATH 项目目录绝对路径。v2.7起改用 Cml::getApplicationDir('apps_path')

CML_RUNTIME_PATH 运行时目录绝对路径。v2.7起改用 Cml::getApplicationDir('global_store_path')

CML_RUNTIME_CACHE_PATH 系统缓存目录绝对路径。v2.7起改用 Cml::getApplicationDir('runtime_cache_path')

CML_RUNTIME_LOGS_PATH 系统日志目录绝对路径。v2.7起改用 Cml::getApplicationDir('runtime_logs_path')

CML_RUNTIME_DATA_PATH 数据库字段缓存绝对路径。上线后若有改主键名请删除该目录 v2.7起改用Cml::getApplicationDir('global_store_path') . DIRECTORY_SEPARATOR.'Data'

results matching ""

    No results matching ""