Update of /cvsroot/phpmp/phpMP
In directory sc8-pr-cvs1:/tmp/cvs-serv4793
Modified Files:
index.php
Log Message:
core/core.php has been moved to core/main.php. The Core class has been renamed to Portal.
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -r1.49 -r1.50
*** index.php 14 Sep 2003 07:02:09 -0000 1.49
--- index.php 14 Sep 2003 09:24:25 -0000 1.50
***************
*** 24,38 ****
define('C_PHPMP_ROOT', './');
! include_once( C_PHPMP_ROOT . 'includes/core.php' );
! $Core = new Core();
global $Template;
$Template->assign_vars( array(
! 'C_SITE_NAME' => $Core->get('site_name'),
! 'C_SITE_ADDRESS' => $Core->get('site_domain') . $Core->get('rel_path'),
! 'C_VERSION' => $Core->get('version'),
! 'C_REL_PATH' => $Core->get('rel_path'),
! 'C_TEMPLATE' => $Core->get('template'),
'U_USERNAME' => $User->get('user_name')
) );
--- 24,38 ----
define('C_PHPMP_ROOT', './');
! include_once( C_PHPMP_ROOT . 'core/main.php' );
! $Portal = new Portal();
global $Template;
$Template->assign_vars( array(
! 'C_SITE_NAME' => $Portal->get('site_name'),
! 'C_SITE_ADDRESS' => $Portal->get('site_domain') . $Portal->get('rel_path'),
! 'C_VERSION' => $Portal->get('version'),
! 'C_REL_PATH' => $Portal->get('rel_path'),
! 'C_TEMPLATE' => $Portal->get('template'),
'U_USERNAME' => $User->get('user_name')
) );
|