forked from gitbot/uguu
Merge pull request #27 from pierre-alain-b/master
Just as a complement, polishing a few things
This commit is contained in:
commit
d243f47ed8
@ -11,6 +11,6 @@ define("CONFIG_ROOT_PATH", "/path/to/uguu/");
|
||||
define("CONFIG_MAX_RETENTION_TIME", "60"); //Max retention time in minutes
|
||||
define("CONFIG_MAX_RETENTION_TEXT", "1 hour"); //Max retention time as a text to be displayed
|
||||
define("CONFIG_RANDOM_LENGTH", "12"); //Length of the random chain appended to the filename
|
||||
define ("CONFIG_BLOCKED_EXTENSIONS", serialize(array("exe", "scr", "rar", "zip", "com", "vbs", "bat", "cmd", "html", "htm", "msi")));
|
||||
define ("CONFIG_BLOCKED_EXTENSIONS", serialize(array("exe", "scr", "rar", "zip", "com", "vbs", "bat", "cmd", "html", "htm", "msi", "php", "php5")));
|
||||
//https://wiki.gentoo.org/wiki/Handbook to set this string correctly
|
||||
define("VERYLO_NG_STRING_THATDOESNTREALLYD_O_ANYTHING", "ok");
|
||||
|
@ -11,8 +11,8 @@
|
||||
<p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
|
||||
<span class="card-title">API</span>
|
||||
<p>To upload using curl or make a tool you can post using:<br />
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload</code> (HTML Response)<br />
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload-tool</code> (Plain text Response)</p>
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload</code> (HTML Response)<br />
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool</code> (Plain text Response)</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user