]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/file_auth/file_auth.php
Minimize config/config.php and put settings in DB. This is work in progress.
[irc/unrealircd/unrealircd-webpanel.git] / plugins / file_auth / file_auth.php
index 61a7fc4800b71662fd54707e33a444d1d7a7adad..8446c84656333d759a181adc04ac0caa6b8edbc4 100644 (file)
@@ -205,7 +205,7 @@ class file_auth
                            "/* This database file is written automatically by the UnrealIRCd webpanel.\n".
                            " * You are not really supposed to edit it manually.\n".
                            " */\n".
-                           '$db = '.var_export($db, true).";\n"))
+                           '$db = '.$str.";\n"))
                {
                        die("Error writing to database file $tmpfile (on fwrite).<br>");
                }