[-] WS: Fix #PSCFV-5981 logo path
This commit is contained in:
@@ -323,7 +323,7 @@ class WebserviceSpecificManagementImagesCore implements WebserviceSpecificManage
|
|||||||
// Set the image path on display in relation to the header image
|
// Set the image path on display in relation to the header image
|
||||||
case 'header':
|
case 'header':
|
||||||
if (in_array($this->wsObject->method, array('GET','HEAD','PUT')))
|
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
|
else
|
||||||
throw new WebserviceException('This method is not allowed with general image resources.', array(49, 405));
|
throw new WebserviceException('This method is not allowed with general image resources.', array(49, 405));
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user