Project

General

Profile

« Previous | Next » 

Revision 1848

Added by darkviper over 11 years ago

fixed reinitialisation of class frontend in /index.php

View differences:

index.php
1 1
<?php
2 2
/**
3 3
 *
4
 * @category        frontend
5
 * @package         page
4
 * @category        Core
5
 * @package         Core_sys
6 6
 * @author          WebsiteBaker Project
7 7
 * @copyright       2009-, WebsiteBaker Org. e.V.
8 8
 * @link			http://www.websitebaker2.org/
......
45 45
if(!class_exists('frontend', false)){ include(WB_PATH.'/framework/class.frontend.php'); }
46 46

  
47 47
// Create new frontend object
48
if (!isset($wb)) {
48
if (!isset($wb) || !($wb instanceof frontend)) {
49 49
    $wb = new frontend();
50 50
}
51 51

  

Also available in: Unified diff