X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=5a8a571579e5ef02b22f28984299b914590ac1cb;hb=52cad1a57ba40295d52b829a5be8d7feb0fbcdab;hp=69bd2e1b058d204d7c9100f9de1fe82cc07ac19a;hpb=d7e1906faf03bfa063e50770b299726612ee5c2c;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 69bd2e1b05..5a8a571579 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1284,6 +1284,9 @@ function bigintval($num, $castValue = true) { // Has the whole value changed? if ("".$ret."" != "".$num."") { // Log the values + print("
");
+		debug_print_backtrace();
+		die("
"); DEBUG_LOG(__FUNCTION__, __LINE__, " num={$num},ret={$ret}"); } // END - if @@ -2238,7 +2241,7 @@ function mxchange_die ($msg) { // Display parsing time and number of SQL queries in footer function DISPLAY_PARSING_TIME_FOOTER() { - global $startTime, $_CONFIG; + global $_CONFIG; $endTime = microtime(true); // Is the timer started? @@ -2807,7 +2810,7 @@ function DESTROY_ADMIN_SESSION () { // Checks if a given apache module is loaded function IF_APACHE_MODULE_LOADED ($apacheModule) { // Check it and return result - return (in_array($apacheModule, apache_get_modules())); + return (((function_exists('apache_get_modules')) && (in_array($apacheModule, apache_get_modules()))) || (!function_exists('apache_get_modules'))); } //////////////////////////////////////////////////