2
0
forked from Wavyzz/dolibarr

function declaration

This commit is contained in:
Frédéric FRANCE
2018-08-15 14:28:34 +02:00
parent 7c6f41e04f
commit 7bb781eea8
37 changed files with 383 additions and 231 deletions

View File

@@ -69,7 +69,8 @@ class PrestaShopWebservice
* @param string $key Authentification key
* @param mixed $debug Debug mode Activated (true) or deactivated (false)
*/
function __construct($url, $key, $debug = true) {
function __construct($url, $key, $debug = true)
{
if (!extension_loaded('curl'))
throw new PrestaShopWebserviceException('Please activate the PHP extension \'curl\' to allow use of PrestaShop webservice library');
$this->url = $url;