Project

General

Profile

« Previous | Next » 

Revision 1848

Added by darkviper almost 12 years ago

fixed reinitialisation of class frontend in /index.php

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
05 Jan-2013 Build 1848 Werner v.d.Decken(DarkViper)
15
# fixed reinitialisation of class frontend in /index.php
14 16
05 Jan-2013 Build 1847 Werner v.d.Decken(DarkViper)
15 17
# PageTree: fixed icon requests
16 18
+ added 2 icons in wb_theme and argos_theme
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1847');
54
if(!defined('REVISION')) define('REVISION', '1848');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/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