Update a few more references to files that have been move to the resources directory.
This commit is contained in:
@@ -1370,7 +1370,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
||||
echo "<div align='center'>\n";
|
||||
$msg = '';
|
||||
//make sure the includes directory is writable so the config.php file can be written.
|
||||
if (!is_writable($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/includes/lib_pdo.php")) {
|
||||
if (!is_writable($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/pdo.php")) {
|
||||
$msg .= "<b>Write access to ".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."</b><br />";
|
||||
$msg .= "and its sub-directories are required during the install.<br /><br />\n";
|
||||
}
|
||||
|
||||
@@ -30,11 +30,14 @@ if (file_exists("/etc/fusionpbx/config.php")) {
|
||||
elseif (file_exists("/usr/local/etc/fusionpbx/config.php")) {
|
||||
include "/usr/local/etc/fusionpbx/config.php";
|
||||
}
|
||||
else {
|
||||
elseif (file_exists("includes/config.php")) {
|
||||
include "includes/config.php";
|
||||
}
|
||||
require_once "includes/lib_php.php";
|
||||
require "includes/lib_pdo.php";
|
||||
else {
|
||||
include "resources/config.php";
|
||||
}
|
||||
require_once "resources/php.php";
|
||||
require "resources/pdo.php";
|
||||
require_once "resources/functions.php";
|
||||
require_once "includes/lib_switch.php";
|
||||
require_once "resources/switch.php";
|
||||
?>
|
||||
Reference in New Issue
Block a user