X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fdata%2Fmw_sgbd.php;h=c3ca66e24a699d9c5560f31cb96142ae5292b170;hb=b9147768f6fbd8ad385ce1046a8a50acf27fbb99;hp=faf88e22cb90d63722be1fe2391086bbb4398df9;hpb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;p=mtweb diff --git a/mw/app/data/mw_sgbd.php b/mw/app/data/mw_sgbd.php index faf88e2..c3ca66e 100644 --- a/mw/app/data/mw_sgbd.php +++ b/mw/app/data/mw_sgbd.php @@ -14,6 +14,10 @@ return $this->sgbd_impl->extention_ok($this->env); } + function authentication_required(){ + return $this->sgbd_impl->authentication_required(); + } + function connect($host, $base, $user, $password){ return $this->sgbd_impl->connect($host, $base, $user, $password); } @@ -113,9 +117,9 @@ return $this->sgbd_impl->fetch_data($dh); } - function add_data($data_path, $data){ + function add_data($data_path, $data, $index = null){ if(!method_exists($this->sgbd_impl, "add_data")) return false; - return $this->sgbd_impl->add_data($data_path, $data); + return $this->sgbd_impl->add_data($data_path, $data, $index); } function last_index($dh){