diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-20 00:54:02 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-20 00:54:02 +0000 |
commit | 681197a265f1dd3873780fdcf0b5f1e8fa0150ab (patch) | |
tree | fe8aafe29cf5f3d6d5a285c330147c9e3f3668c0 /core | |
parent | d51955c8efa78d7f0a0ca8c138c2eebaf5ecb975 (diff) |
Web based installer. It's still got some rough edges, but you can now
do a complete CLI or web based install.
Diffstat (limited to 'core')
-rw-r--r-- | core/controllers/welcome.php | 3 | ||||
-rw-r--r-- | core/images/gallery2.png | bin | 0 -> 22178 bytes |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index e009452f..6130f0ed 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -541,7 +541,8 @@ class Welcome_Controller extends Template_Controller { } if ($file->isDir()) { - fwrite($fd, "mkdir(\"var/" . substr($name, strlen(VARPATH)) . "\");\n"); + $path = "VARPATH . \"" . substr($name, strlen(VARPATH)) . "\""; + fwrite($fd, "!file_exists($path) && mkdir($path);\n"); } else { // @todo: serialize non-directories print "Unknown file: $name"; diff --git a/core/images/gallery2.png b/core/images/gallery2.png Binary files differnew file mode 100644 index 00000000..ca8e0e95 --- /dev/null +++ b/core/images/gallery2.png |