|
|
@ -13,7 +13,6 @@
|
|
|
|
//load required pages and turn error reporting on/off
|
|
|
|
//load required pages and turn error reporting on/off
|
|
|
|
error_reporting(E_ALL);
|
|
|
|
error_reporting(E_ALL);
|
|
|
|
ini_set('display_errors', 'on');
|
|
|
|
ini_set('display_errors', 'on');
|
|
|
|
require_once( '../../ams_lib/libinclude.php' );
|
|
|
|
|
|
|
|
if (!file_exists('../is_installed')) {
|
|
|
|
if (!file_exists('../is_installed')) {
|
|
|
|
//if is_installed doesnt exist run setup
|
|
|
|
//if is_installed doesnt exist run setup
|
|
|
|
require( 'installer/libsetup.php' );
|
|
|
|
require( 'installer/libsetup.php' );
|
|
|
@ -24,6 +23,7 @@ if (!file_exists('../is_installed')) {
|
|
|
|
//if config exists then include it
|
|
|
|
//if config exists then include it
|
|
|
|
require( '../config.php' );
|
|
|
|
require( '../config.php' );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
require_once( $AMS_LIB'/libinclude.php' );
|
|
|
|
session_start();
|
|
|
|
session_start();
|
|
|
|
|
|
|
|
|
|
|
|
//Running Cron?
|
|
|
|
//Running Cron?
|
|
|
|