rpicms

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

commit b7f199835f313340f495ab0197dd5f43c8158396
parent 0107572f3712116e5d897b7e4a1af172e2e9e05c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 16 Jan 2015 19:49:03 +0100

now it should work...

Diffstat:
Mcore/backend/admin/blog/newpost.php | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -5,7 +5,7 @@ //header("Cache-Control: no-cache, must-revalidate, no-store"); echo "test"; -//ob_start(); +ob_start(); ############################### # include files from root dir # @@ -22,12 +22,12 @@ if ($root_3[1] == 'core') { include($root . '/core/config/variables.config.php'); include($root . '/core/config/connect.db.inc.php'); -//while (ob_get_status()) { +while (ob_get_status()) { if ($resultat = $connection->query('SELECT id FROM posts')) { while($daten = $resultat->fetch_object() ){ $post_id_clean = $daten->id; $ids = $post_id_clean+1; - var_dump($daten); + //var_dump($daten); } #$resultat->close(); } @@ -49,7 +49,7 @@ include($root . '/core/config/connect.db.inc.php'); $resultat->close(); } } - //ob_end_clean(); -//} -//header( "Location: ../../../../" ); + ob_end_clean(); +} +header( "Location: ../../../../" ); ?> \ No newline at end of file