rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit e6a3489ce9051aabc09fffdb845f5ed9e08f6f47
parent 481838d3145f7cebcca34b539d9e804afb2bb73e
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 17 Jan 2015 11:44:42 +0100

change if

Diffstat:
Mthemes/jumbotron/admin.php | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -43,8 +43,7 @@ if ($resultat = $connection->query("SELECT * FROM allowed_user WHERE email LIKE #if (empty($allowed_user)) { # echo "You not logged in!"; #}else{ -foreach ($allowed_user as $subarray){ -if(in_array($user, $subarray)){ +if($allowed_user == $user){ ################ # lang support #