]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - install.php
Closes #6 can use several upload passwords in options
[jirafeau_mojo42.git] / install.php
index 81a00cc4e3e71a76379b8223ec1fa3a53bf8f72e..3bfbea8c1bb6356f7fac3b7bf4daa16244bef903 100644 (file)
@@ -52,6 +52,9 @@ jirafeau_export_cfg ($cfg)
             fwrite ($handle, jirafeau_quoted ($item));
         else if (is_int ($item))
             fwrite ($handle, $item);
+        else if (is_array ($item))
+            fwrite ($handle, str_replace(array("\n", "\r"), "",
+                                         var_export ($item, true)));
         else
             fwrite ($handle, 'null');
         fwrite ($handle, ';'.NL);

patrick-canterino.de