Project

General

Profile

« Previous | Next » 

Revision 1694

Added by Dietmar about 12 years ago

+ add var $iPhpDeclaredClasses = sizeof(get_declared_classes() set by PHP in initialize.php

View differences:

branches/2.8.x/CHANGELOG
12 12
===============================================================================
13 13

  
14 14

  
15
18 Aug-2012 Build 1694 Dietmar Woellbrink (Luisehahne)
16
+ add var $iPhpDeclaredClasses = sizeof(get_declared_classes() set by PHP in initialize.php
15 17
18 Aug-2012 Build 1693 Dietmar Woellbrink (Luisehahne)
16 18
# fixed deprecated erigi in captcha
17 19
08 Aug-2012 Build 1692 Werner v.d.Decken(DarkViper)
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', '1693');
54
if(!defined('REVISION')) define('REVISION', '1694');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/initialize.php
3 3
 *
4 4
 * @category        framework
5 5
 * @package         initialize
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
6
 * @author          Ryan Djurovich, WebsiteBaker Project
7
 * @copyright       2009-2012, WebsiteBaker Org. e.V.
9 8
 * @link			http://www.websitebaker2.org/
10 9
 * @license         http://www.gnu.org/licenses/gpl.html
11 10
 * @platform        WebsiteBaker 2.8.x
......
69 68
	}
70 69
/* -------------------------------------------------------- */
71 70
	$starttime = array_sum(explode(" ",microtime()));
71
	$iPhpDeclaredClasses =  sizeof(get_declared_classes());
72 72
	SetInstallPathConstants();
73 73
	SanitizeHttpReferer(WB_URL); // sanitize $_SERVER['HTTP_REFERER']
74 74
	if(!class_exists('WbAutoloader', false)){ include(dirname(__FILE__).'/WbAutoloader.php'); }
......
94 94
	while($setting = $get_settings->fetchRow()) {
95 95
		$setting_name=strtoupper($setting['name']);
96 96
		$setting_value=$setting['value'];
97
		if ($setting_value=='false')
98
			$setting_value=false;
99
		if ($setting_value=='true')
100
			$setting_value=true;
97
//		if ($setting_value=='') {$setting_value=false;}
98
		if ($setting_value=='false'){$setting_value=false;}
99
		if ($setting_value=='true'){$setting_value=true;}
101 100
		@define($setting_name,$setting_value);
102 101
	}
103 102
	@define('DO_NOT_TRACK', (isset($_SERVER['HTTP_DNT'])));

Also available in: Unified diff