<?php
/* This file is part of testMaker.
testMaker is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
testMaker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/**
* Initializes the system and starts Portal
* @package Portal
*/
/**
* Load the StopWatch
*/
require_once("lib/utilities/StopWatch.php");
start("Initializing");
/**
* Initialize the system
*/
require_once(dirname(__FILE__)."/init.php");
start("Initializing Portal");
/**
* Initialize Portal
*/
require_once(ROOT.'portal/init.php');
stop();
stop();
// Start Portal
start("Running Portal");
$GLOBALS["PORTAL"]->run();
stop();
if (file_exists(dirname(__FILE__)."/is_developer_machine")) {
$stopWatch = &getStopWatch();
$stopWatch->printReport();
}
?>