From aa657e4ca0e894a090fee39b8b9d82d7f54f9764 Mon Sep 17 00:00:00 2001 From: mhilbrunner Date: Wed, 27 Sep 2017 12:36:58 +0200 Subject: [PATCH] Small fixes: Remove empty files, fix comment, update footer to 2017 (#114) * Remove empty files (api\api.php, api\config.php) * Fix comment (undelete instead of delete) * Updated footer to 2017 --- api/api.php | 0 api/config.php | 2 -- api/index.php | 2 +- src/routes/asset.php | 2 +- templates/_footer.phtml | 2 +- 5 files changed, 3 insertions(+), 5 deletions(-) delete mode 100755 api/api.php delete mode 100644 api/config.php diff --git a/api/api.php b/api/api.php deleted file mode 100755 index e69de29..0000000 diff --git a/api/config.php b/api/config.php deleted file mode 100644 index acb6c35..0000000 --- a/api/config.php +++ /dev/null @@ -1,2 +0,0 @@ - diff --git a/api/index.php b/api/index.php index e0996dd..789338b 100644 --- a/api/index.php +++ b/api/index.php @@ -2,7 +2,7 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); -include("config.php"); + if (PHP_SAPI == 'cli-server') { // To help the built-in PHP dev server, check if the request was actually for // something which should probably be served as a static file diff --git a/src/routes/asset.php b/src/routes/asset.php index b19a8b4..9142cc3 100644 --- a/src/routes/asset.php +++ b/src/routes/asset.php @@ -284,7 +284,7 @@ $app->post('/asset/{id:[0-9]+}/delete', function ($request, $response, $args) { }); /* - * Delete asset from library + * Undelete asset from library */ $app->post('/asset/{id:[0-9]+}/undelete', function ($request, $response, $args) { diff --git a/templates/_footer.phtml b/templates/_footer.phtml index f3712e4..f32b987 100644 --- a/templates/_footer.phtml +++ b/templates/_footer.phtml @@ -3,7 +3,7 @@

- Copyright © 2016 The Godot Engine community - MIT Licensed. + Copyright © 2017 The Godot Engine community - MIT Licensed.