Tons of rewrites (SQL queries), surfbar nearly finished (working: surfing with static...
[mailer.git] / inc / gen_sql_patches.php
index 61eebc187f0593ba9de770714806487ea559c345..5876e3d5fd88c71dc607c5da7eb37dfc6958e750 100644 (file)
@@ -72,7 +72,7 @@ if (empty($_CONFIG['master_salt'])) {
 if (empty($_CONFIG['file_hash'])) {
        // Create filename from hashed random string
        $file_hash = generateHash(GEN_PASS(rand(128, 256)));
-       $file = PATH."inc/.secret/.".$file_hash;
+       $file = sprintf("%sinc/.secret/.%s", PATH, $file_hash);
 
        // File hash was never created
        $fp = @fopen($file, 'w') or mxchange_die("Cannot write secret key file!");