BACKPORT ba19e7 Support a env.php file for debug defines.
This commit is contained in:
@@ -15,9 +15,12 @@ $startingTime = array_sum(explode(' ',microtime()));
|
|||||||
ini_set("default_charset", "UTF-8");
|
ini_set("default_charset", "UTF-8");
|
||||||
ini_set("soap.wsdl_cache_enabled", "0");
|
ini_set("soap.wsdl_cache_enabled", "0");
|
||||||
|
|
||||||
define ('DEBUG_SQL_LOG', 0 );
|
if (file_exists(dirname(__FILE__) . '/env.php'))
|
||||||
define ('DEBUG_TIME_LOG', 0 );
|
include dirname(__FILE__) . '/env.php';
|
||||||
define ('DEBUG_CALENDAR_LOG', 0 );
|
|
||||||
|
if (!defined('DEBUG_SQL_LOG')) define ('DEBUG_SQL_LOG', 0 );
|
||||||
|
if (!defined('DEBUG_TIME_LOG')) define ('DEBUG_TIME_LOG', 0 );
|
||||||
|
if (!defined('DEBUG_CALENDAR_LOG')) define ('DEBUG_CALENDAR_LOG', 0 );
|
||||||
|
|
||||||
//*** process the $_POST with magic_quotes enabled
|
//*** process the $_POST with magic_quotes enabled
|
||||||
function strip_slashes(&$vVar) {
|
function strip_slashes(&$vVar) {
|
||||||
|
|||||||
Reference in New Issue
Block a user