forked from GNUsocial/gnu-social
Implement update avatar via API (/api/account/update_profile_image.format)
This commit is contained in:
@@ -513,7 +513,7 @@ class MIME_Type
|
||||
return PEAR::raiseError("Can't find file command \"{$fileCmd}\"");
|
||||
}
|
||||
|
||||
$cmd->pushCommand($fileCmd, "-bi " . escapeshellarg($file));
|
||||
$cmd->pushCommand($fileCmd, "-bI " . escapeshellarg($file));
|
||||
$res = $cmd->execute();
|
||||
unset($cmd);
|
||||
|
||||
|
Reference in New Issue
Block a user