Victor made an initial commit that looks solid on the original barebones installer. First step towards handling upgrades based on the existence of an index.php file and the assets directory.
I think this should just probalby check for the existence of the manager/includes/config.inc.php as that’s the real test, but we can do that later I s’pose. You could move over assets, for example from another site on a new uploaded install, and you wouldn’t want to nuke everything...
But I digress... We need to really discuss how to handle upgrades and outline some bulletproof logic. In other words, how do we make sure not to overwrite peoples customized snippets/plugins/modules/images/css files?
I think it’s going to take some interaction with the user during the install process ultimately:
This appears to be an upgrade installation, how do you want us to handle your assets directory?
1) Overwrite everything
2) Only add new files
3)
etc.
I’m also a fan of moving the config.inc.php file into the assets directory since that would make for a single place to keep all non-core files.
Thoughts?