old style constructor fixed

This commit is contained in:
sunra 2015-12-13 01:12:13 +02:00
parent 9cb9ff4981
commit fc66b3f104

View file

@ -68,7 +68,7 @@ class dBug {
var $arrHistory = array();
//constructor
function dBug($var,$forceType="",$bCollapsed=false) {
function __construct($var,$forceType="",$bCollapsed=false) {
//include js and css scripts
if(!defined('BDBUGINIT')) {
define("BDBUGINIT", TRUE);