Updating constructor: "PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dBug has a deprecated constructor"
This commit is contained in:
parent
4a1bb162c0
commit
07bac892c4
1 changed files with 1 additions and 1 deletions
2
dBug.php
2
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue