[-] WS: Fix #PSCFV-5981 logo path

This commit is contained in:
Rémi Gaillard
2012-12-04 11:52:04 +01:00
parent 7d05a6d8e9
commit b80bc2a6ba
@@ -323,7 +323,7 @@ class WebserviceSpecificManagementImagesCore implements WebserviceSpecificManage
// Set the image path on display in relation to the header image
case 'header':
if (in_array($this->wsObject->method, array('GET','HEAD','PUT')))
$path = _PS_IMG_DIR_.'logo.jpg';
$path = _PS_IMG_DIR_.Configuration::get('PS_LOGO');
else
throw new WebserviceException('This method is not allowed with general image resources.', array(49, 405));
break;