3 Star 10 Fork 10

mz/php_mzdns

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
index.php 783 Bytes
Copy Edit Raw Blame History
mz authored 2015-02-16 17:26 +08:00 . init project
<?php
define('DEBUG', ((isset($argc) && $argc) || strstr($_SERVER['REQUEST_URI'], 'debug')) ? 1:1);
// 站点根目录,在单元测试时候,此文件可能被包含
define('ROOT_PATH', str_replace('\\', '/', dirname(__FILE__)).'/');
if(!($conf = include(ROOT_PATH.'conf/conf.php'))) {
exit('config file not exists');
}
// 框架的物理路径
define('FRAMEWORK_PATH', ROOT_PATH.'../mzphp/');
// 临时目录
define('FRAMEWORK_TMP_PATH', $conf['tmp_path']);
// 日志目录
define('FRAMEWORK_LOG_PATH', $conf['log_path']);
//扩展核心目录(该目录文件会一起打包入runtime.php文件中)
define('FRAMEWORK_EXTEND_PATH', ROOT_PATH.'lib/');
// 包含核心框架文件,转交给框架进行处理。
include FRAMEWORK_PATH.'mzphp.php';
core::run($conf);
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mz/php_mzdns.git
git@gitee.com:mz/php_mzdns.git
mz
php_mzdns
php_mzdns
master

Search

371d5123 14472233 46e8bd33 14472233