Update the references for header.php and footer.php files to point the resources directory.
This commit is contained in:
@@ -1346,7 +1346,7 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
|
||||
ob_start();
|
||||
|
||||
//show the html form
|
||||
if (!is_writable($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/includes/header.php")) {
|
||||
if (!is_writable($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/header.php")) {
|
||||
$install_msg .= "<li>Write access to ".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/includes/ is required during the install.</li>\n";
|
||||
}
|
||||
if (!extension_loaded('PDO')) {
|
||||
|
||||
+2
-2
@@ -40,7 +40,7 @@
|
||||
}
|
||||
|
||||
//add the header
|
||||
include "includes/header.php";
|
||||
include "resources/header.php";
|
||||
|
||||
//show the message
|
||||
if (strlen($msg) > 0) {
|
||||
@@ -141,6 +141,6 @@
|
||||
echo "</div>";
|
||||
|
||||
//add the footer
|
||||
include "includes/footer.php";
|
||||
include "resources/footer.php";
|
||||
|
||||
?>
|
||||
@@ -102,9 +102,9 @@ function _recaptcha_http_post($host, $path, $data, $port = 80) {
|
||||
function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false)
|
||||
{
|
||||
if ($pubkey == null || $pubkey == '') {
|
||||
require_once "includes/header.php";
|
||||
require_once "resources/header.php";
|
||||
echo "To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>";
|
||||
require_once "includes/footer.php";
|
||||
require_once "resources/footer.php";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user