Update index.php

This commit is contained in:
Namhyeon Go 2019-07-16 15:31:43 +09:00 committed by GitHub
parent 45c3413d7b
commit 2af7d7d745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,10 @@ define("SECURITY_VENDOR", false); // advanced security: set security vendor(comp
// check if current status is development
if(APP_DEVELOPMENT == true) {
error_reporting(E_ALL);
ini_set("display_errors", 1);
} else {
error_reporting(E_ERROR | E_PARSE);
}
ini_set("display_errors", 1);
// CORS Security (https or http)
if(CORS_DOMAIN !== false) {