. /** * @package MantisBT * @copyright Copyright (C) 2002 - 2012 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org */ # Require the core API and admin authentication to run tests $t_authenticated_testing = true; /** * requires core APIs */ require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core.php' ); # Check for access rights if required if ( $t_authenticated_testing ) { access_ensure_global_level( ADMINISTRATOR ); }