false]); } echo je($res); } static function uploadAccountTinyMCE(){ $res = []; if(IF_AUTH){ $res = Image::upload(['base64'=>false]); } echo je($res); } static function uploadProfileFromAppGallery(){ $res = []; if(IF_PROFILE){ $res = Image::upload(['base64'=>false]); } echo je($res); } static function uploadProfile(){ $res = []; if(IF_PROFILE){ $res = Image::upload(); } echo je($res); } static function upload(){ $res = []; if(IF_AUTH){ $res = Image::upload(); } echo je($res); } }