mirror of
https://github.com/godotengine/godot-asset-library.git
synced 2025-12-31 21:48:29 +03:00
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
This commit is contained in:
committed by
Bojidar Marinov
parent
7b366e6df1
commit
aa657e4ca0
@@ -1,2 +0,0 @@
|
||||
<?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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="col-md-12">
|
||||
<hr/>
|
||||
<p>
|
||||
Copyright © 2016 The Godot Engine community - MIT Licensed.
|
||||
Copyright © 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];
|
||||
|
||||
Reference in New Issue
Block a user