The db_path should already exist.
This commit is contained in:
@@ -143,7 +143,6 @@ require_once "includes/lib_functions.php";
|
|||||||
if (file_exists('/var/lib/fusionpbx')) {
|
if (file_exists('/var/lib/fusionpbx')) {
|
||||||
$db_path = '/var/lib/fusionpbx';
|
$db_path = '/var/lib/fusionpbx';
|
||||||
}
|
}
|
||||||
if (!is_readable($db_path)) { mkdir($db_path,0777,true); }
|
|
||||||
}
|
}
|
||||||
//set the other default directories
|
//set the other default directories
|
||||||
if (file_exists('/usr/bin')) {
|
if (file_exists('/usr/bin')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user