Location: PHPKode > projects > Webgenerator-X content management system > wgx_rc1.5/WG-X/WG-X.php
<?
/*
* This file is part of Webgenerator-X,
* an object oriented website management engine working an top of
* Apache/PHP4/MySQL.
* http://www.webgenerator-x.com
* @2001 REGNI Giorgio
* hide@address.com
*
* Webgenerator-X 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.
*
* Webgenerator-X 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 Foobar; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

/*************************************************************************/
/* REGNI Giorgio
   20/04/2001
   WG-X
   Main File, WG-X Base
   Answer User HTTP Request
   
   30/04/2001 bug $php_self in win32
*/

/* HTTP Parameters
   $mod = name of module being used
*/

set_magic_quotes_runtime(0);

include ("WG-X/config.php");
/*
if (isset($cookielanguage))			// language cookie set ?
	$language = $cookielanguage;
else*/
	$language = $defaultlanguage;

if (!isset($pagetitle))				// set default page title if not set
	$pagetitle = $sitename;

include ("WG-X/translate.php");
include ("WG-X/class.Validator.php" );
include ("WG-X/class.TE.php" );

include ("WG-X/html.php");
include ("WG-X/UserManager.php");
include ("WG-X/Module.php");
include ("WG-X/LayoutFX.php");
include ("WG-X/CacheEngine.php" );
include ("WG-X/Compilator.php" );
include ("WG-X/Coordinator.php" );

include ("WG-X/start.php");

//include modules definitions
while ( list($nmodule,$modulefile) = each( $usedmodule ) )
	{include ("Modules/$nmodule/$modulefile$extension"); }

$my_coordinator = new Coordinator();
echo $my_coordinator->Answer();

include("WG-X/stop.php");
?> 
Return current item: Webgenerator-X content management system