mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-04 11:05:48 +00:00
typo
This commit is contained in:
parent
8478c0efe2
commit
5b5d08d1e1
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
// sanitise user (not for DNS, but for file reading, I don't know
|
||||
// just in case it's hacked about with or something bananas.
|
||||
$user_file = preg_replace('/[^a-z0-9\-]/', '', $user);
|
||||
$user_file = preg_replace('/[^a-z0-9\-]/', '', $user_file);
|
||||
$user_file = 'users/'.$user_file.'.json';
|
||||
|
||||
if (file_exists($user_file)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue