Update of /cvsroot/phpmp/phpMP/core
In directory sc8-pr-cvs1:/tmp/cvs-serv27247/core
Modified Files:
main.php
Log Message:
Missed a few Config class calls.
Index: main.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/core/main.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** main.php 14 Sep 2003 09:28:02 -0000 1.2
--- main.php 14 Sep 2003 21:08:31 -0000 1.3
***************
*** 55,59 ****
* @desc Initiates all core components.
*/
! function Core()
{
// The following code ensures that, no matter what, the dreaded
--- 55,59 ----
* @desc Initiates all core components.
*/
! function Main()
{
// The following code ensures that, no matter what, the dreaded
***************
*** 119,130 ****
if( $User->get('template') == false )
{
! $Config->set('template', $Config->get('default_tpl'));
}
else
{
! $Config->set('template', $User->get('template'));
}
! $Template->set_template( $Config->get('template'), false, true );
$DB->close();
}
--- 119,130 ----
if( $User->get('template') == false )
{
! $this->cfg_set('template', $this->cfg_get('default_tpl'));
}
else
{
! $this->cfg_set('template', $User->get('template'));
}
! $Template->set_template( $this->cfg_get('template'), false, true );
$DB->close();
}
|