29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-26 07:13:21 +00:00

Fixed artf1820 : Call to undefined function: mosmainbody()

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@687 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Johan Janssens 2005-10-27 15:05:30 +00:00
parent 6281e97812
commit 2becb35ba1
3 changed files with 6 additions and 4 deletions

View File

@ -32,7 +32,8 @@ Legend:
! -> Note
27-Oct-2005 Johan Janssens
# Fixed artf1826 : Typo's in language files
# Fixed artf1826 : Typo's in language files
# Fixed artf1820 : Call to undefined function: mosmainbody()
27-Oct-2005 Robin Muilwijk
# Fixed artf1824, fatal error in Private messaging, backend

View File

@ -66,8 +66,6 @@ $_MAMBOTS->loadBotGroup( 'system' );
// trigger the onStart events
$_MAMBOTS->trigger( 'onBeforeStart' );
require_once( 'includes/frontend.php' );
// retrieve some expected url (or form) arguments
$option = trim( strtolower( mosGetParam( $_REQUEST, 'option' ) ) );
$Itemid = intval( mosGetParam( $_REQUEST, 'Itemid', null ) );
@ -235,6 +233,8 @@ if ($path = $mainframe->getPath( 'front' )) {
$_MOS_OPTION['buffer'] = ob_get_contents();
ob_end_clean();
require_once( 'includes/frontend.php' );
initGzip();
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );

View File

@ -16,7 +16,6 @@ define( '_VALID_MOS', 1 );
include_once( 'globals.php' );
require_once( 'configuration.php' );
require_once( 'includes/joomla.php' );
// displays offline/maintanance page or bar
@ -97,6 +96,8 @@ if ($path = $mainframe->getPath( 'front' )) {
$_MOS_OPTION['buffer'] = ob_get_contents();
ob_end_clean();
require_once( 'includes/frontend.php' );
initGzip();
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );