<?php
// $Id: request.php,v 1.2 2005/02/26 02:06:59 kerkness Exp $
/**
* This file is part of NoAh.
*
* NoAh is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NoAh 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 NoAh; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
session_name('NoAhSession');
session_start();
// If the NoAH CORE_PATH global variable has not been defined, then
// include NoAh conf.
if ( ! defined('CORE_PATH') ) {
include('noah_conf.php');
}
// Confirm again that CORE_PATH is defined otherwise trigger
// the installation process
if ( ! defined('CORE_PATH') ) {
header("Location: install.php");
}
/**
* Load the NoAhRequest object.
* we do this by including the /baseloader.php file. this
* file determines how our request is processed by
* determining what our Module, Package and Command is
* for this request.
* - First see if they are already defined, if so, accept the definition
* - Check our POST var for values.
* - Check GET vars for values.
* - Check SESSION vars for values.
* - Set default.
*
* NOTE: ** baseloader.php creates main $noAh request object
*/
require(CORE_PATH.'/handleRequest.php');
// Check to see if
// print '<pre>';
// print_r($noAh->content);
// print '</pre>';
?>