From e26228930aa81cd3646f26e7eac6a91e24913516 Mon Sep 17 00:00:00 2001 From: "Eric Johansson (neku)" Date: Tue, 6 Oct 2015 00:57:03 +0200 Subject: [PATCH] Update api.php --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 89151ba..17111aa 100644 --- a/api.php +++ b/api.php @@ -7,7 +7,7 @@ if(isset($_GET['d'])) { case 'upload': //If no file is being posted, show the error page and exit. if(empty($_FILES['file']['name'])){ - include('error.php'); + include_once('error.php'); exit(0); } //Set the name value to the original filename