Move the install.php from the root directory and put it into the resources directory.
This commit is contained in:
parent
e78a600bd5
commit
7a5abd382a
|
|
@ -25,7 +25,7 @@
|
||||||
*/
|
*/
|
||||||
include "root.php";
|
include "root.php";
|
||||||
if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php")){
|
if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php")){
|
||||||
header("Location: ".PROJECT_PATH."/install.php");
|
header("Location: ".PROJECT_PATH."/resources/install.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
require_once "includes/require.php";
|
require_once "includes/require.php";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue