X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-sql_patches.php;h=294db45c190a7b158bebfe2a03ea439a6ca00b59;hp=3cb088c02570f1cf3799c7bc9ddba6541489a1b9;hb=e79e1454e88271e35086963a0422a51cc243e67a;hpb=e87430f959a8b240d516ef830e6494165bc933b2;ds=sidebyside diff --git a/inc/extensions/ext-sql_patches.php b/inc/extensions/ext-sql_patches.php index 3cb088c025..294db45c19 100644 --- a/inc/extensions/ext-sql_patches.php +++ b/inc/extensions/ext-sql_patches.php @@ -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!"); }