REPORT TEMPLATE FILES NAME CHANGED
This commit is contained in:
parent
dd8c6b3be8
commit
0e7a570ba2
4640
api/application/views/report_templates/JSONTOREPORT_DI_AI.php
Normal file
4640
api/application/views/report_templates/JSONTOREPORT_DI_AI.php
Normal file
File diff suppressed because it is too large
Load Diff
4616
api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php
Normal file
4616
api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user