helps if i use the right file...
This commit is contained in:
parent
7c23b19f58
commit
395503bed1
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
ini_set('display_errors', 'on');
|
ini_set('display_errors', 'on');
|
||||||
require_once( '../../ams_lib/libinclude.php' );
|
require_once( '../../ams_lib/libinclude.php' );
|
||||||
if (!@include '../config.php') {
|
if (!file_exists('../is_installed')) {
|
||||||
//if config doesnt exist run setup
|
//if is_installed doesnt exist run setup
|
||||||
require( 'installer/libsetup.php' );
|
require( 'installer/libsetup.php' );
|
||||||
} elseif ($_POST["function"] == "do_install") {
|
} elseif ($_POST["function"] == "do_install") {
|
||||||
echo "Can't run setup while file '../is_installed' exists, please remove that file if you wish to run the install";
|
echo "Can't run setup while file '../is_installed' exists, please remove that file if you wish to run the install";
|
||||||
|
|
Loading…
Reference in a new issue