diff --git a/dBug.php b/dBug.php index 09107d2..b25fc15 100755 --- a/dBug.php +++ b/dBug.php @@ -66,7 +66,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);