rpicms

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

commit 1f23d2d70ac5a01eae0bdf0fdd14b1f76f17faf2
parent 35ab27324a28f0f1526ea026c19b3a3c5ea9f71b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 16 May 2015 13:42:11 +0200

redirect at end

Diffstat:
Mthemes/jumbotron/admin.php | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -72,9 +72,12 @@ if(!empty($_GET['function'])){ $get_function = $_GET['function']; $get_id = $_GET['id']; if($get_function="edit"){ - + header("HTTP/1.1 301 Moved Permanently", true, 301); + header( "Location: ../../?file=admin.php#posts" ); }else{ deletePost($get_id); + header("HTTP/1.1 301 Moved Permanently", true, 301); + header( "Location: ../../?file=admin.php#posts" ); } } }