xun 7 years ago
parent
commit
da59e325c3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      public/index.php

+ 2 - 1
public/index.php

@@ -12,7 +12,8 @@
 // [ 应用入口文件 ]
 // 定义配置文件目录和应用目录同级
 // 定义应用目录
-echo 123;exit;
+ini_set("display_errors", "On");
+error_reporting(E_ALL | E_STRICT);
 define('APP_PATH', __DIR__ . '/../application/');
 // 加载框架引导文件
 require __DIR__ . '/../thinkphp/start.php';