Added const values for the names of the INI files.

Also verify with the user if they want to overwrite their INI files if they are
re-installing.
This commit is contained in:
Paul Baranowski 2011-04-14 15:04:44 -04:00
parent 782f00b32f
commit 4af55027ad
4 changed files with 53 additions and 23 deletions

View file

@ -5,13 +5,15 @@
* @license http://www.gnu.org/licenses/gpl.txt
*/
echo PHP_EOL;
echo "******************************** Install Begin *********************************".PHP_EOL;
require_once(dirname(__FILE__).'/include/AirtimeIni.php');
require_once(dirname(__FILE__).'/include/AirtimeInstall.php');
AirtimeInstall::ExitIfNotRoot();
AirtimeIni::CreateIniFile();
AirtimeIni::ExitIfIniFilesExist();
AirtimeIni::CreateIniFiles();
AirtimeIni::UpdateIniFiles();
require_once(dirname(__FILE__).'/../application/configs/conf.php');