iensenfirippu / reiZ

OOP php CMS, with strong focus on providing a clean html output.
GNU General Public License v2.0
0 stars 0 forks source link

Primitive install script #14

Closed iensenfirippu closed 10 years ago

iensenfirippu commented 10 years ago

As with any CMS, there needs to be an install script that will take care of setting up the database and create all the necessary tables.

At a later point the script should also take care of upgrading older versions, so it need to be able to check for version numberings, and potentially handle changes to the tables and converting data, etc.

iensenfirippu commented 10 years ago

A very early-days and very very primitive install script has been added. It currently only overwrites the database settings in the config file, it won't add missing config lines or even create a new file if it doesn't exist. It only changes the default database settings and create the page related tables (no data). The rest of the tables should be added later, for now it is just proof-of-concept.

Closed, for now.