Wedge

Public area => The Pub => Topic started by: Nao on January 24th, 2014, 05:17 PM

Title: On refactoring the installer flow...
Post by: Nao on January 24th, 2014, 05:17 PM
Quote from havok on January 23rd, 2014, 03:00 PM
deleting the folder with go daddy admin panel was leaving some residual files. when i used 3rd party ftp to delete the folder worked like a charm. back up and running
 :eheh:
I was actually working, a few hours ago, on making the install process easier for everyone.

The idea is to:
- ship Wedge WITHOUT these folders: /attachments, /media, /install/Settings.php, /install/Settings.php.bak
- modify index.php so that on each page load, it checks for these files. If it finds them, cool. If it doesn't, it actually recreates them from scratch, not from an existing file or folder, but simply by creating files and writing text to them. (Yes, it works fine. And it avoids the eternal problem of ensuring these folders are all writable.)
- if Settings.php isn't found, run the install process.

This is pretty great. But causes three major problems to me.
Opinions welcome, really.