]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Several fixes and and improvements:
[mailer.git] / inc / functions.php
index 3f5f434e2486fc8551b0b79fdde7d04d5945e099..5c69d92b29035759c1871c3202bc4c8ed23a0689 100644 (file)
@@ -2804,6 +2804,12 @@ function DESTROY_ADMIN_SESSION () {
        return @session_destroy();
 }
 
+// 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()));
+}
+
 //////////////////////////////////////////////////
 //                                              //
 // AUTOMATICALLY RE-GENERATED MISSING FUNCTIONS //