corrected use of detect

This commit is contained in:
Matthew Vale 2015-11-26 18:45:11 +00:00
parent 8eeee0fea1
commit f1c6963e9e
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ if(!$install_step) { $install_step = 'select_language'; }
$fusionPBX->install(); $fusionPBX->install();
$switch->install(); $switch->install();
$fusionPBX->app_defaults(); $fusionPBX->app_defaults();
$switch->detect_switch->restart_switch(); $switch_detect->restart_switch();
}catch(Exception $e){ }catch(Exception $e){
echo "</pre>\n"; echo "</pre>\n";
echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n"; echo "<p><b>Failed to install</b><br/>" . $e->getMessage() . "</p>\n";