Welcome Guest, Not a member yet? Register   Sign In
Automatically create database
#11

[eluser]xwero[/eluser]
A generator is like drewbee suggested a script that runs before the actual code can work so lets say we call the script init.php. so all your client has to do is put the package you give him on his server and then he has to go to the clientsite.com/init.php. In that script you can put everything that is needed to get the site running.

The best thing to is use php native code instead of the CI classes but you can use the CI config files.
#12

[eluser]Aquillyne[/eluser]
Any way to force or hack the database class to not select the database automatically? Any way to do this without an install script? I'm retiscent to use one. My website has to run "right out of the box" in the strongest sense possible. CI solutions are best, extensions fine, hacks acceptable. But itself gotta work the moment you upload it!




Theme © iAndrew 2016 - Forum software by © MyBB