代码拉取完成,页面将自动刷新
<?php
/*
* PPPHP入口文件
*
* @author kphcdr <kphcdr.163.com>
*/
header("Content-type:text/html;charset=utf-8");
define('ENVIRONMENT', true);//调试模式
define('PPPHP',realpath('./')); //F:\www\git\ppphp 根目录
//系统路径
define('CORE',PPPHP.'/Core');
define('APP', PPPHP.'/app');
define('VIEW', PPPHP.'/app/view/');
define('CACHE',APP.'/tmp/');
define('WEB', dirname($_SERVER['SCRIPT_NAME']));
// 如果不开启隐藏index.php请使用
// define('WEB', $_SERVER['SCRIPT_NAME']);
//是否开启错误提示以及BUG调试
if (ENVIRONMENT)
{
error_reporting(E_ALL);
}
else
{
error_reporting(0);
}
//let go
require CORE.'/ppphp.php';
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。