Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces.

This commit is contained in:
markjcrane
2016-02-29 09:24:05 -07:00
parent 990a8e766c
commit 093556cd42
7 changed files with 157 additions and 218 deletions
@@ -56,7 +56,6 @@ include "root.php";
}
//utility Functions
function write_debug($message) {
if($this->debug){
echo "$message\n";
@@ -135,7 +134,7 @@ include "root.php";
if (!is_readable($fax_dir)) { mkdir($fax_dir,0777,true); }
$voicemail_dir = join( DIRECTORY_SEPARATOR, array($this->global_settings->switch_storage_dir(), 'voicemail'));
if (!is_readable($voicemail_dir)) { mkdir($voicemail_dir,0777,true); }
//create the dialplan/default.xml for single tenant or dialplan/domain.xml
if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/dialplan")) {
$dialplan = new dialplan;