mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-20 15:08:00 +00:00
fix api url broke
This commit is contained in:
@@ -550,7 +550,7 @@ class PictshareModel extends Model
|
||||
if($data['status']=='OK')
|
||||
{
|
||||
$hash = $data['hash'];
|
||||
$o = array('status'=>'OK','type'=>$type,'hash'=>$hash,'url'=>DOMAINPATH.$hash,'domain'=>DOMAINPATH);
|
||||
$o = array('status'=>'OK','type'=>$type,'hash'=>$hash,'url'=>DOMAINPATH.'/'.$hash,'domain'=>DOMAINPATH);
|
||||
if($data['deletecode'])
|
||||
$o['deletecode'] = $data['deletecode'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user