]> git.mxchange.org Git - mailer.git/commitdiff
Fix for non-existing function 'apache_get_modules' (why is that disabled here???)
authorRoland Häder <roland@mxchange.org>
Tue, 25 Nov 2008 20:47:47 +0000 (20:47 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Nov 2008 20:47:47 +0000 (20:47 +0000)
inc/databases.php
inc/functions.php

index fbdd39899f5efa698e17a01b0a4c8af1e74fdb1f..255830bf1c3891ec47e5f846c4945fb2bc971ced 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "558");
+define('CURR_SVN_REVISION', "559");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 69bd2e1b058d204d7c9100f9de1fe82cc07ac19a..8f753838862de646d298e1971b848a5c36c9fcef 100644 (file)
@@ -2807,7 +2807,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')));
 }
 
 //////////////////////////////////////////////////