Update install.php
This commit is contained in:
parent
a0e3cd1268
commit
dd87f510c6
|
|
@ -96,7 +96,8 @@
|
||||||
//linux
|
//linux
|
||||||
$config_path = "/etc/fusionpbx";
|
$config_path = "/etc/fusionpbx";
|
||||||
}
|
}
|
||||||
if (isset($config_path) && is_writable($config_path)) {
|
if (isset($config_path)) {
|
||||||
|
if (is_writable($config_path)) {
|
||||||
//include the config.php file
|
//include the config.php file
|
||||||
include $config_path.'/config.php';
|
include $config_path.'/config.php';
|
||||||
|
|
||||||
|
|
@ -122,6 +123,7 @@
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//process and save the data
|
//process and save the data
|
||||||
if (count($_POST) > 0) {
|
if (count($_POST) > 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue