REPORT TEMPLATE FILES NAME CHANGED

This commit is contained in:
Velz2020 2019-09-26 20:08:18 +05:30
parent dd8c6b3be8
commit 0e7a570ba2
3 changed files with 9259 additions and 3 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -69,7 +69,7 @@
} }
else if(isset($_SERVER['HTTP_HOST']) && !strcasecmp($_SERVER['HTTP_HOST'],'localhost') && isset($_SERVER['REQUEST_URI']) && substr_count($_SERVER['REQUEST_URI'], 'sparqapi') == 1) else if(isset($_SERVER['HTTP_HOST']) && !strcasecmp($_SERVER['HTTP_HOST'],'localhost') && isset($_SERVER['REQUEST_URI']) && substr_count($_SERVER['REQUEST_URI'], 'sparqapi') == 1)
{ {
define('ENVIRONMENT','development'); define('ENVIRONMENT','production');
} }
else else
{ {
@ -95,10 +95,10 @@ switch (ENVIRONMENT)
case 'testing': case 'testing':
error_reporting(-1); error_reporting(-1);
ini_set('display_errors', 0); ini_set('display_errors', 1);
break; break;
case 'production': case 'production':
ini_set('display_errors', 0); ini_set('display_errors', 1);
if (version_compare(PHP_VERSION, '5.3', '>=')) if (version_compare(PHP_VERSION, '5.3', '>='))
{ {
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);