]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-birthday.php
Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / extensions / ext-birthday.php
index 418d0b33cfcbf9d5b7c9fb38073dd40796586b50..9eedddefcd58deffd1c0624c4c00bce6ff19b2bc 100644 (file)
@@ -186,9 +186,7 @@ default: // Do stuff when extension is loaded
        $dummy = LOAD_CONFIG();
 
        // Copy config to main array
-       $_CONFIG['birthday_points'] = $dummy['birthday_points'];
-       $_CONFIG['birthday_mode']   = $dummy['birthday_mode'];
-       $_CONFIG['birthday_active'] = $dummy['birthday_active'];
+       $_CONFIG = array_merge($_CONFIG, $dummy);
 
        // Save some RAM...
        unset($dummy);
@@ -206,7 +204,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "birthday";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
+$EXT_ALWAYS_ACTIVE = "N";
 
 //
 ?>