setup install like wordpress |
I want to make settings to install my application like wordpress.
I tried to make a new file like wordpress. but I have difficulty when making it. first option : PHP Code: if ( ! file_exists(APPPATH.'config/my_database.php')) { second option : PHP Code: if ( ! file_exists(APPPATH.'config/database.php')) { or if there is another way let me know Please help and thank you ![]()
I have a install script (not based on CodeIgniter, but plain PHP). That I personally didn't wrote but modified, maybe you can find something useful in it. In the first step it check if all folders are writable, so users can't continue and get mad that their inputted configuration didn't get saved.
I have taken some bits from Wordpress, like saving the configuration part. php4dvd installer
|
Welcome Guest, Not a member yet? Register Sign In |