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:
parent
782f00b32f
commit
4af55027ad
4 changed files with 53 additions and 23 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue