X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_file.phh;h=6801031f93a8be3a4acf0b3329ea8963b9a30ff3;hb=f6a01481a38713553a82314f845bf39fddaa998d;hp=d09f5df5a221c271e2cb8e07ead59fd56d2bc9af;hpb=9b4aaeb974e7f92e6e124bde29c78a1f5f8fb2b0;p=brisk.git diff --git a/web/Obj/dbase_file.phh b/web/Obj/dbase_file.phh index d09f5df..6801031 100644 --- a/web/Obj/dbase_file.phh +++ b/web/Obj/dbase_file.phh @@ -26,15 +26,21 @@ require_once("${G_base}Obj/dbase_base.phh"); define(BRISK_AUTH_CONF, "brisk_auth.conf.pho"); -class LoginDB { +class BriskDB { var $item; var $item_n; - function LoginDB() + function BriskDB() + { + log_main("BriskDB create:start"); + + log_main("BriskDB create:end"); + } + + function users_load() { GLOBAL $DOCUMENT_ROOT; - log_main("LoginDB create:start"); if (file_exists("$DOCUMENT_ROOT/Etc/".BRISK_AUTH_CONF)) { require("$DOCUMENT_ROOT/Etc/".BRISK_AUTH_CONF); @@ -46,7 +52,6 @@ class LoginDB { new LoginDBItem(4, "tre", md5("three"), "pippo@pluto.com", USER_FLAG_TY_NORM) ); } $this->item_n = count($this->item); - log_main("LoginDB create:end"); } function count() @@ -58,7 +63,7 @@ class LoginDB { { log_main("login_exists: ".$login); - /* check the existence of the nick in the LoginDB */ + /* check the existence of the nick in the BriskDB */ for ($i = 0 ; $i < $this->item_n ; $i++) { if (strcasecmp($this->item[$i]->login, $login) == 0) { log_main("login[".$i."]: ".$this->item[$i]->login); @@ -81,7 +86,7 @@ class LoginDB { log_main("login_exists: ".$login); - /* check the existence of the nick in the LoginDB */ + /* check the existence of the nick in the BriskDB */ for ($i = 0 ; $i < $this->item_n ; $i++) { if (strcasecmp($this->item[$i]->login, $login) == 0) { log_main("login[".$i."]: ".$this->item[$i]->login); @@ -98,7 +103,7 @@ class LoginDB { { log_main("getmail"); - /* check the existence of the nick in the LoginDB */ + /* check the existence of the nick in the BriskDB */ for ($i = 0 ; $i < $this->item_n ; $i++) { if (strcasecmp($this->item[$i]->login, $login) == 0) { log_main("login[".$i."]: ".$this->item[$i]->login); @@ -112,7 +117,7 @@ class LoginDB { { log_main("getmail"); - /* check the existence of the nick in the LoginDB */ + /* check the existence of the nick in the BriskDB */ for ($i = 0 ; $i < $this->item_n ; $i++) { if (strcasecmp($this->item[$i]->login, $login) == 0) { log_main("login[".$i."]: ".$this->item[$i]->login); @@ -130,7 +135,7 @@ class LoginDB { log_main("login_verify: ".$login); - /* check the existence of the nick in the LoginDB */ + /* check the existence of the nick in the BriskDB */ for ($i = 0 ; $i < $this->item_n ; $i++) { log_main("login_verify: LOOP"); if (strcasecmp($this->item[$i]->login, $login) == 0) { @@ -169,7 +174,11 @@ class LoginDB { return ($ret); } - -} // End class LoginDB + + function bin5_points_save($date, $ttok, $tidx, $codes, $pts) + { + return TRUE; + } +} // End class BriskDB ?> \ No newline at end of file