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)) { - +