From 549083c1fd5b7f6430ed1772dcef1fa79ea633bc Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 31 Oct 2016 02:41:40 +0800 Subject: [PATCH] So that didn't work. Now it does. --- admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 7317fb0..fc8a2af 100644 --- a/admin/index.php +++ b/admin/index.php @@ -13,7 +13,7 @@ $tim=$_POST["tim"]; $txt = Parsedown::instance()->parse($txt); -if (isset($_FILES["file"]) && isset($_FILES["file"]["name"])) { +if (isset($_FILES["file"]) && $_FILES["file"]["name"]) { $allok = 0; $uploadLocation = "../" . UPLOAD_LOCATION . "";