X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/2241b24c0686b655819683bede887c52be152ecd..3e6d760fac53bc2fc4324ddba062b5ec924a0573:/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()