rpicms

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

commit f95e6908b931b811076e87d2a6fea9e30b137962
parent 1ab7b5f5cc8e641c4eca0aa2c855b5688e032675
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 13 Dec 2014 12:22:57 +0100

prepare index.php of jumbotron a little more for categorys

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

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -14,10 +14,14 @@ # include required files # ########################## $error = "0"; - $empty = empty($_GET["id"]); - if (!$empty){ + $empty_id = empty($_GET["id"]); + $empty_category = empty($_GET["category"]); + if (!$empty_id){ $id = $_GET["id"]; } + if (!$empty_category){ + $id = $_GET["category"]; + } include('../../core/config/variables.config.php'); ################