mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-12 11:16:22 +00:00
added upload via base64 and via url
This commit is contained in:
@@ -32,7 +32,7 @@ if($_REQUEST['api_paste_code'])
|
||||
exit(URL.$sha_hash);
|
||||
|
||||
$answer = (new TextController())->handleUpload($tmpfile,$hash);
|
||||
if($answer['hash'])
|
||||
if($answer['hash'] && $answer['status']=='ok')
|
||||
addSha1($answer['hash'],$sha1);
|
||||
|
||||
echo URL.$hash;
|
||||
|
||||
Reference in New Issue
Block a user