|
From: Chris S. <san...@us...> - 2009-06-26 23:11:13
|
Update of /cvsroot/stack/stack-dev/lib/ui In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13313/lib/ui Modified Files: report.php Log Message: Index: report.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/ui/report.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** report.php 23 Jun 2009 14:39:36 -0000 1.8 --- report.php 26 Jun 2009 23:11:10 -0000 1.9 *************** *** 22,29 **** --- 22,37 ---- global $config; $root = $config->get('docroot'); + // Ensure admin is logged in. + require $root.'/lib/ui/AdminInterface.php'; + + require_once $root.'/lib/error.php'; require_once $root.'/lib/Logger.php'; require_once $root.'/lib/reporting/StackReport.php'; require_once $root.'/lib/translator.php'; + require_once $root.'/lib/ui/frontend.php'; + + echo html_head('STACK'); + if(empty($_SESSION['report']) || ($_POST == NULL)) |