|
From: Florin C B. <ory...@us...> - 2011-03-29 08:13:48
|
Update of /cvsroot/mxbb/core
In directory vz-cvs-4.sog:/tmp/cvs-serv5282
Modified Files:
index.php
Log Message:
Index: index.php
===================================================================
RCS file: /cvsroot/mxbb/core/index.php,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** index.php 16 Mar 2011 19:16:56 -0000 1.83
--- index.php 29 Mar 2011 08:13:46 -0000 1.84
***************
*** 11,14 ****
--- 11,15 ----
define( 'IN_PORTAL', 1 );
+ $phpEx = substr(strrchr(__FILE__, '.'), 1);
$mx_root_path = "./";
***************
*** 202,206 ****
}
$mx_block->block_contents = ob_get_contents();
! }
else
{
--- 203,207 ----
}
$mx_block->block_contents = ob_get_contents();
! }
else
{
***************
*** 348,351 ****
--- 349,357 ----
$layouttemplate->pparse('mx_main_layout');
+ $template->assign_vars(array(
+ 'PORTAL' => defined('IN_PORTAL') ? true : false,
+ 'PORTAL_INDEX_PAGE' => ($portal_config['main_layout']) ? true : false,
+ ));
+
//
// Output footer
|