| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,12 @@ |
| 1 |
+<?php |
|
| 2 |
+//takes information from installer.php and creates config.php file |
|
| 3 |
+//allows user to save config.php |
|
| 4 |
+ |
|
| 5 |
+header('content-type: application/octet-stream');
|
|
| 6 |
+header("Content-Disposition: attachment; filename=\"config.php\"");
|
|
| 7 |
+ |
|
| 8 |
+print "<?php $config = " . var_export($config, true) . ";" |
|
| 9 |
+ |
|
| 10 |
+ |
|
| 11 |
+ |
|
| 12 |
+?> |