]> git.mxchange.org Git - mailer.git/commitdiff
Use new wrapper isPhpExtensionLoaded() instead of extension_loaded().
authorRoland Haeder <roland@mxchange.org>
Thu, 17 Apr 2014 21:33:51 +0000 (23:33 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 17 Apr 2014 21:33:51 +0000 (23:33 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/extensions/ext-user.php
inc/xml-functions.php

index 960827873ce445e38bb09e73885a5f463664be7f..47987229312389ef18a1e76c0439e3ac20f7405d 100644 (file)
@@ -60,7 +60,7 @@ switch (getExtensionMode()) {
 
        case 'activate': // Do stuff when admin activates this extension
                // Is the required PHP extension 'recode' loaded?
-               if (!extension_loaded('recode')) {
+               if (!isPhpExtensionLoaded('recode')) {
                        // Required extension not loaded
                        enableExtensionReportingFailure();
                } // END - if
index 51a5be20fa2594566d262ae60533780d71109ae2..2d806fd7fd2db9aea8654e5ee26f1d9307c607b3 100644 (file)
@@ -129,7 +129,7 @@ function addXmlSpecialElements ($template) {
 // Parses the XML content
 function parseXmlData ($content) {
        // Is there recode?
-       if (!extension_loaded('recode')) {
+       if (!isPhpExtensionLoaded('recode')) {
                // No fallback ATM
                reportBug(__FUNCTION__, __LINE__, 'PHP extension recode is missing. Please install it.');
        } // END - if