From 459e5118f51270a7a15ca0eef38ad3c15a19b361 Mon Sep 17 00:00:00 2001 From: Stefan Brannfjell Date: Sat, 14 Jun 2014 08:03:16 +0200 Subject: [PATCH] Gallery is updated with the new image url from imgland.net --- admin_gallery.php | 6 +++--- gallery.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin_gallery.php b/admin_gallery.php index 447d1f1..537631d 100644 --- a/admin_gallery.php +++ b/admin_gallery.php @@ -47,7 +47,7 @@ if ($images != false) { - + @@ -75,7 +75,7 @@ if ($images != false) { - + @@ -103,7 +103,7 @@ if ($images != false) { - + diff --git a/gallery.php b/gallery.php index adec8a9..d439cbb 100644 --- a/gallery.php +++ b/gallery.php @@ -16,7 +16,7 @@ if ($logged_in === true) { } if (!empty($_POST['image']) && !empty($_POST['title']) && !empty($_POST['desc'])) { $image = sanitize($_POST['image']); - $image = str_replace("www", "", str_replace(":", "", str_replace("/", "", str_replace(".", "!", str_replace("imgland.net", "", str_replace("http", "", $image)))))); + $image = str_replace("www", "", str_replace(":", "", str_replace("/", "", str_replace(".", "!", str_replace("ii.gl", "", str_replace("http", "", $image)))))); $title = sanitize($_POST['title']); $desc = sanitize($_POST['desc']); @@ -35,7 +35,7 @@ if ($logged_in === true) { - + @@ -73,7 +73,7 @@ if (empty($_POST)) { - +