Implement update avatar via API (/api/account/update_profile_image.format)

This commit is contained in:
Zach Copley
2009-11-04 21:00:26 -08:00
parent eb42ad5635
commit 527427d3e0
5 changed files with 151 additions and 3 deletions

View File

@@ -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);