]> git.p6c8.net - jirafeau/mojo42.git/blobdiff - install.php
Closes #6 can use several upload passwords in options
[jirafeau/mojo42.git] / install.php
index a1eac8dfcbc880b71720d4a7d8b9f97bbad74269..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);
@@ -356,6 +359,7 @@ case 4:
     }
     else
     {
+        $cfg['style'] = 'courgette';
         $cfg['installation_done'] = true;
         jirafeau_export_cfg ($cfg);
         echo '<div class="message"><p>' .

patrick-canterino.de