$this->dir = $dir;
$this->login = basename($dir);
}
+
+ function __get($col)
+ {
+ return $this->$col = $this->$col(); # run method and cache
+ }
+
+ function name()
+ {
+ return @file_get_contents("{$this->dir}/name.txt");
+ }
}
function login_password_verify($input, $test)