Поправил путь к файлам

This commit is contained in:
origami11 2017-02-17 19:24:24 +03:00
parent d32455d043
commit 0350e429fb
3 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ class Tree_DBTree
// 'right' => 'cat_right', // 'right' => 'cat_right',
// 'level' => 'cat_level' // '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); if (empty($tableName)) trigger_error("phpDbTree: Unknown table", E_USER_ERROR);

View file

@ -21,7 +21,7 @@ class Tree_Database
var $db; var $db;
var $host, $user, $pass; var $host, $user, $pass;
function CDatabase($db, $host = "localhost", $user = "", $pass = "") function __construct($db, $host = "localhost", $user = "", $pass = "")
{ {
$this->db = $db; $this->db = $db;
$this->host = $host; $this->host = $host;