Поправил путь к файлам
This commit is contained in:
parent
d32455d043
commit
0350e429fb
3 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ class Tree_DBTree
|
|||
// 'right' => 'cat_right',
|
||||
// 'level' => 'cat_level'
|
||||
// )
|
||||
function CDBTree(&$DB, $tableName, $itemId, $seq, $fieldNames = array())
|
||||
function __construct(&$DB, $tableName, $itemId, $seq, $fieldNames = array())
|
||||
{
|
||||
|
||||
if (empty($tableName)) trigger_error("phpDbTree: Unknown table", E_USER_ERROR);
|
||||
|
|
@ -21,7 +21,7 @@ class Tree_Database
|
|||
var $db;
|
||||
var $host, $user, $pass;
|
||||
|
||||
function CDatabase($db, $host = "localhost", $user = "", $pass = "")
|
||||
function __construct($db, $host = "localhost", $user = "", $pass = "")
|
||||
{
|
||||
$this->db = $db;
|
||||
$this->host = $host;
|
||||
Loading…
Add table
Add a link
Reference in a new issue