mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 09:33:48 +00:00
moved restart and unprotected app_defaults
This commit is contained in:
@@ -311,6 +311,7 @@ if(!$install_step) { $install_step = 'select_language'; }
|
||||
$fusionPBX->install();
|
||||
$switch->install();
|
||||
$fusionPBX->app_defaults();
|
||||
$detect_switch->restart_switch();
|
||||
}catch(Exception $e){
|
||||
echo "</pre>\n";
|
||||
echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";
|
||||
|
||||
@@ -975,7 +975,7 @@ include "root.php";
|
||||
}
|
||||
}
|
||||
|
||||
protected function app_defaults() {
|
||||
public function app_defaults() {
|
||||
$this->write_progress("Running app_defaults");
|
||||
|
||||
//set needed session settings
|
||||
|
||||
@@ -176,9 +176,6 @@ include "root.php";
|
||||
function install() {
|
||||
$this->copy_conf();
|
||||
$this->copy_scripts();
|
||||
//tell freeswitch to restart
|
||||
$this->write_progress("Restarting switch");
|
||||
$this->detect_switch->restart_switch();
|
||||
}
|
||||
|
||||
function upgrade() {
|
||||
|
||||
Reference in New Issue
Block a user