|
|
@@ -1,5 +1,5 @@
|
|
|
<?php
|
|
|
-$tcmsUsers = json_decode(file_get_contents('config/users.json'),true)
|
|
|
+$tcmsUsers = json_decode(file_get_contents('config/users.json'),true);
|
|
|
if (!empty($_SERVER['REMOTE_USER']) && !empty($tcmsUsers)) {
|
|
|
$poster = "admin";
|
|
|
if(array_search($_SERVER['REMOTE_USER'], $tcmsUsers) == $_SERVER['REMOTE_USER']) {
|