fix for missing include

This commit is contained in:
botanic 2014-04-21 03:00:19 -07:00
parent 1c30c1067e
commit 1191a37816

View file

@ -56,7 +56,6 @@
if (!isset($_POST['function'])) { if (!isset($_POST['function'])) {
//require the pages that are being needed. //require the pages that are being needed.
require_once( '../config.default.php' ); require_once( '../config.default.php' );
require_once( $AMS_LIB.'/libinclude.php' );
ini_set( "display_errors", true ); ini_set( "display_errors", true );
error_reporting( E_ALL ); error_reporting( E_ALL );
@ -85,6 +84,8 @@
} }
} }
require_once( $AMS_LIB.'/libinclude.php' );
//var used to access the DB; //var used to access the DB;
global $cfg; global $cfg;