From 21a931e8ebc80b3b796dbb180d81cbfad5db4c20 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 23 Mar 2016 22:04:31 +0000 Subject: [PATCH] use Db:: --- lib/php/db/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/db/index.php b/lib/php/db/index.php index 9ee489f9..fa8c0204 100755 --- a/lib/php/db/index.php +++ b/lib/php/db/index.php @@ -14,7 +14,7 @@ if (preg_match('/^(\w+)\.(.*?)$/',Db::p('table'),$m)) { Db::pset('db',$m[1]); Db::pset('table',$m[2]); } -Db::init(array( nb::$root_dir.'/etc/dbs.yaml','/etc/dbs.yaml' )); +Db::init(array( Db::$root_dir.'/etc/dbs.yaml','/etc/dbs.yaml' )); if( defined('DB_JUST_INIT')) return true; return $Db->action($Table); -- 2.47.3