X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_file.phh;fp=web%2FObj%2Fdbase_file.phh;h=12ae75048f9ea3718730eaa617005f3cd088abba;hb=ad62ecf88ef0d5e5fa03d6461ac4510314fc2b50;hp=d09f5df5a221c271e2cb8e07ead59fd56d2bc9af;hpb=9b4aaeb974e7f92e6e124bde29c78a1f5f8fb2b0;p=brisk.git diff --git a/web/Obj/dbase_file.phh b/web/Obj/dbase_file.phh index d09f5df..12ae750 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) {