Home  >  Article  >  Backend Development  >  php本地测试没有显示内容,也没有报错,是什么情况

php本地测试没有显示内容,也没有报错,是什么情况

WBOY
WBOYOriginal
2016-06-02 11:29:051298browse

php

用xampp本地测试php内容没有显示,源代码是刚从ftp下下来的,本人之前弄过ASP和.net的,php是菜鸟,有谁可以帮忙
define("APP_DEBUG", false);
define('SITE_PATH', getcwd());
define('APP_NAME', 'Shuipf');
define('APP_PATH', SITE_PATH . '/shuipf/');
define("RUNTIME_PATH", SITE_PATH . "/#runtime/");
define('TEMPLATE_PATH', APP_PATH . 'Template/');
//大小写忽略处理
foreach (array("g", "m") as $v) {
if (isset($_GET[$v])) {
$_GET[$v] = ucwords($_GET[$v]);
}
}
if (!file_exists(APP_PATH . 'Conf/dataconfig.php')) {
header("Location: install/");
exit;
}
//载入框架核心文件
require APP_PATH . 'Core/ThinkPHP.php';>
这个是首页代码

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn