git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: find article image to append on page
[minimedit.git]
/
auth.inc.php
diff --git
a/auth.inc.php
b/auth.inc.php
index c8b6b319c74a347538456392a47cc093bdc143d7..772e256129c89abfbc01710fbd195ee8ba82b8d2 100644
(file)
--- a/
auth.inc.php
+++ b/
auth.inc.php
@@
-16,7
+16,8
@@
class User
function name()
{
- return @file_get_contents("{$this->dir}/name.txt");
+ $name = @file_get_contents("{$this->dir}/name.txt");
+ return htmlspecialchars(implode(' & ', explode("\n", $name)));
}
function admin()