New feature of repaying points to user/jackpot/shred added
[mailer.git] / inc / extensions / ext-sql_patches.php
index 3cb088c02570f1cf3799c7bc9ddba6541489a1b9..294db45c190a7b158bebfe2a03ea439a6ca00b59 100644 (file)
@@ -581,15 +581,11 @@ default: // Do stuff when extension is loaded
                }
 
                // Test again
-               if ((!empty($_CONFIG['file_hash'])) && (!empty($_CONFIG['master_salt'])) && (!empty($_CONFIG['pass_scramble'])))
-               {
+               if ((!empty($_CONFIG['file_hash'])) && (!empty($_CONFIG['master_salt'])) && (!empty($_CONFIG['pass_scramble']))) {
                        // File hash fas generated so we can also file the secret file... hopefully.
-                       if ((file_exists(PATH."inc/.secret/.".$_CONFIG['file_hash'])) && (is_readable(PATH."inc/.secret/.".$_CONFIG['file_hash'])))
-                       {
+                       if ((file_exists(PATH."inc/.secret/.".$_CONFIG['file_hash'])) && (is_readable(PATH."inc/.secret/.".$_CONFIG['file_hash']))) {
                                $_CONFIG['secret_key'] = implode("", file(PATH."inc/.secret/.".$_CONFIG['file_hash']));
-                       }
-                        else
-                       {
+                       } else {
                                // Cannot read secret file!
                                mxchange_die("Cannot read secret file!");
                        }