mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-19 14:38:00 +00:00
cleanup
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use function PHPSTORM_META\map;
|
|
||||||
|
|
||||||
spl_autoload_register('autoload');
|
spl_autoload_register('autoload');
|
||||||
|
|
||||||
//disable output buffering
|
//disable output buffering
|
||||||
@@ -10,7 +8,7 @@ if (ob_get_level()) ob_end_clean();
|
|||||||
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
|
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
|
||||||
|
|
||||||
if(!defined('FFMPEG_BINARY'))
|
if(!defined('FFMPEG_BINARY'))
|
||||||
define('FFMPEG_BINARY',ROOT.DS.'bin'.DS.'ffmpeg');
|
define('FFMPEG_BINARY','ffmpeg');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Architect function is the main controller
|
* The Architect function is the main controller
|
||||||
|
|||||||
@@ -217,39 +217,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<h2>Free vs Key</h2>
|
|
||||||
|
|
||||||
<p>If no valid key is sent to the API, the free quota of 10 calls per IP and day will be used. The
|
|
||||||
daily free quota will reset 24 hours after the last API call (with a quota cost of 1) was
|
|
||||||
received.</p>
|
|
||||||
|
|
||||||
Quota costs
|
|
||||||
<table class="table table-dark">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th scope="col"></th>
|
|
||||||
<th scope="col">No key</th>
|
|
||||||
<th scope="col">With key</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Uploading a new image</th>
|
|
||||||
<td>1</td>
|
|
||||||
<td>1</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Uploading an existing image</th>
|
|
||||||
<td>1</td>
|
|
||||||
<td>0</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">Checking a hash</th>
|
|
||||||
<td>0</td>
|
|
||||||
<td>0</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user