rpicms

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

commit e7a0c5ac13b0841a392f1e5320f210e078ec3550
parent 4dd565a450a29f3d6a985ff1e0302cec6423ef43
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 16 Jan 2015 20:21:47 +0100

prepare for the login for using the admin.php

Diffstat:
Mthemes/jumbotron/admin.php | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -1,4 +1,5 @@ <?php +if(isset($_COOKIE['PHPSESSID']) || $_COOKIE['PHPSESSID'] == $accessToken) { /** * Jumbotron Theme for RPICMS * @@ -267,4 +268,9 @@ foreach($langs as $prio => $lang) { <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="../../core/libs/theme_engine/BootStrap/js/bootstrap.min.js"></script> </body> -</html> -\ No newline at end of file +</html> +<?php +}else{ + echo "You not logged in!"; +} +?> +\ No newline at end of file