fix for missing include

This commit is contained in:
botanic 2014-04-21 03:00:19 -07:00
parent ff4a43ef48
commit b443deb3ca

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;