rpicms

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

commit 574b0390a3ed26697d096c5966f5718220638703
parent 7ea524200c768a496cfbbefca467eda8eb968fe3
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 16:22:00 +0100

and next try

Diffstat:
Mcore/backend/blog/posts.php | 2+-
Mthemes/jumbotron/index.php | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php @@ -41,7 +41,7 @@ } $resultat->close(); } else { - global $id, $connection, $read; + global $id, $connection, $read, $post_id_clean; global $post_id, $post_title, $post_text, $post_author, $post_date, $post_categrory; if ($resultat = $connection->query('SELECT * FROM posts WHERE id LIKE '.$id)) { while($daten = $resultat->fetch_object() ){ diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -84,6 +84,7 @@ <?php $x = 1; if ($empty){ + $id = 1; $read = "1"; include('../../core/backend/blog/posts.php'); while ($x < $post_id_clean){