X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fdbase_pgsql.phh;h=b91d932e6d6381db6df61dddaa281384ab2644f3;hb=9603235381668b55449b18a108e85ee27726d596;hp=ff314b1cb61992366cdaa8a9b39eac084be170f2;hpb=1e77a6539b5df73e362c36c11df1b0e3696c1647;p=brisk.git diff --git a/web/Obj/dbase_pgsql.phh b/web/Obj/dbase_pgsql.phh index ff314b1..b91d932 100644 --- a/web/Obj/dbase_pgsql.phh +++ b/web/Obj/dbase_pgsql.phh @@ -22,7 +22,7 @@ * */ -require_once("Obj/dbase_base.phh"); +require_once("${G_base}Obj/dbase_base.phh"); $escsql_from = array( "\\", "'" ); $escsql_to = array( "\\\\", "\\'" ); @@ -59,27 +59,31 @@ class DBConn } } -class LoginDB +class BriskDB { var $dbconn; var $item; var $item_n; - function LoginDB() + function BriskDB() { GLOBAL $DOCUMENT_ROOT, $G_dbpfx, $G_false; - log_main("LoginDB create:start"); + log_main("BriskDB create:start"); $this->dbconn = new DBConn(); - log_main("LoginDB create:end"); + log_main("BriskDB create:end"); + } + + function users_load() + { } function login_exists($login) { GLOBAL $G_dbpfx; - /* check the existence of the nick in the LoginDB */ + /* check the existence of the nick in the BriskDB */ log_main("login_exists: ".$login); $user_sql = sprintf("SELECT * FROM %susers WHERE login = lower('%s');", $G_dbpfx, escsql($login)); @@ -116,7 +120,7 @@ class LoginDB log_main("login_verify: ".$login); - //O /* check the existence of the nick in the LoginDB */ + //O /* check the existence of the nick in the BriskDB */ //O for ($i = 0 ; $i < $this->item_n ; $i++) { //O log_main("login_verify: BEGIN");