X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/7abc48b38fa2c2227c5c6dd772bd159c75548f64..6f7977b1751e50e24f1302ef8630a7726182fe53:/auth.inc.php diff --git a/auth.inc.php b/auth.inc.php index 772e256..631bf8b 100644 --- a/auth.inc.php +++ b/auth.inc.php @@ -14,10 +14,14 @@ class User return $this->$col = $this->$col(); # run method and cache } + function rawname() + { + return @file_get_contents("{$this->dir}/name.txt"); + } + function name() { - $name = @file_get_contents("{$this->dir}/name.txt"); - return htmlspecialchars(implode(' & ', explode("\n", $name))); + return htmlspecialchars(implode(' & ', explode("\n", $this->rawname))); } function admin()