From 1f0a5aa6b243e2b8bba66fc62bd029e2fa801e4b Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 8 Apr 2010 11:55:02 -0300 Subject: Sorting out folder schene --- classes/PhpIsisDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/PhpIsisDb.php') diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php index a6b3c7e..c568743 100644 --- a/classes/PhpIsisDb.php +++ b/classes/PhpIsisDb.php @@ -32,7 +32,7 @@ class PhpIsisDb implements IsisDb { // Open the database. $name = $schema['db']['name']; - $this->db = isis_open("db/$name/$name"); + $this->db = isis_open(CinisisDb::file("$name/$name", 'db')); } /** @@ -57,7 +57,7 @@ class PhpIsisDb implements IsisDb { $data = $this->tag(isis_fetch_array($results)); // Charset conversion. - array_walk_recursive($data, array('PhpIsisDb', 'charset')); + array_walk_recursive($data, array(__CLASS__, 'charset')); // Return the result. return $data; -- cgit v1.2.3