Browse Source

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
mhilbrunner 8 years ago
parent
commit
aa657e4ca0
5 changed files with 3 additions and 5 deletions
  1. 0 0
      api/api.php
  2. 0 2
      api/config.php
  3. 1 1
      api/index.php
  4. 1 1
      src/routes/asset.php
  5. 1 1
      templates/_footer.phtml

+ 0 - 0
api/api.php


+ 0 - 2
api/config.php

@@ -1,2 +0,0 @@
-<?php
-?>

+ 1 - 1
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

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

+ 1 - 1
templates/_footer.phtml

@@ -3,7 +3,7 @@
                 <div class="col-md-12">
                     <hr/>
                     <p>
-                        Copyright &copy; 2016 The Godot Engine community - MIT Licensed.
+                        Copyright &copy; 2017 The Godot Engine community - MIT Licensed.
                         <?php if(file_exists('.git/HEAD')) { $HEAD_contents = file_get_contents('.git/HEAD');?>
                             <?php if(preg_match('/^ref: (.+)$/m', $HEAD_contents, $ref_matches)) {
                                 $ref = $ref_matches[1];