Project

General

Profile

« Previous | Next » 

Revision 55

Added by stefan about 19 years ago

Removed initialize.php, moved initialization code to class wb constructor. Changed attribute no_default_content to default_block_content and changed behavior.

View differences:

index.php
35 35

  
36 36
require_once(WB_PATH.'/framework/class.frontend.php');
37 37
// Create new frontend object
38
$wb = new frontend();
38
// Perform general initializations
39
$wb = & new frontend();
39 40

  
40
// Perform general initializations:
41
// session start, language files loading, basic settings.
42
require_once(WB_PATH.'/framework/initialize.php');
43

  
44 41
// Figure out which page to display
45 42
// Stop processing if intro page was shown
46 43
$wb->page_select() or die();

Also available in: Unified diff