]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/wernis_functions.php
More double- to single-quotes rewritten
[mailer.git] / inc / libs / wernis_functions.php
index 5c76e50c24936abad4c286f5fbb3351f94f9cdf2..8327e6da3998db899c71de26c5dfd22468426e03 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
@@ -212,7 +212,7 @@ function WERNIS_TEST_API () {
 // Widthdraw this amount
 function WERNIS_EXECUTE_WITHDRAW ($wdsId, $userMd5, $amount) {
        // Is the sponsor extension installed?
-       if (getConfig('wernis_withdraw_active') != "Y") {
+       if (getConfig('wernis_withdraw_active') != 'Y') {
                if (!EXT_IS_ACTIVE('sponsor')) {
                        // No, abort here
                        return false;