New feature of repaying points to user/jackpot/shred added
[mailer.git] / inc / extensions / ext-sql_patches.php
index 3cb088c..294db45 100644 (file)
@@ -581,15 +581,11 @@ default: // Do stuff when extension is loaded
                }
 
                // Test again
                }
 
                // 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.
                        // 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']));
                                $_CONFIG['secret_key'] = implode("", file(PATH."inc/.secret/.".$_CONFIG['file_hash']));
-                       }
-                        else
-                       {
+                       } else {
                                // Cannot read secret file!
                                mxchange_die("Cannot read secret file!");
                        }
                                // Cannot read secret file!
                                mxchange_die("Cannot read secret file!");
                        }