I hope to receive some information here on the following subject:
calling this function:
protected function getAdminDirectory()
{
return str_replace(HTTP_SERVER, '', HTTP_ADMIN);
}
ends in this php statement:
PHP Notice: Use of undefined constant HTTP_ADMIN - assumed 'HTTP_ADMIN' in /xx/xxx/xxx/www/catalog/controller/payment/mollie_ideal.php on line 452
This statements seems to retrieve the admin directory but the constant is undefined, I'm uncertain on where to define it there for my question would be if I could make this static since the directory is known.
I hope to receive some information here on the following subject:
calling this function:
protected function getAdminDirectory() { return str_replace(HTTP_SERVER, '', HTTP_ADMIN); } ends in this php statement:
PHP Notice: Use of undefined constant HTTP_ADMIN - assumed 'HTTP_ADMIN' in /xx/xxx/xxx/www/catalog/controller/payment/mollie_ideal.php on line 452
This statements seems to retrieve the admin directory but the constant is undefined, I'm uncertain on where to define it there for my question would be if I could make this static since the directory is known.
If so how would it look like?
{ return str_replace(HTTP_SERVER, 'admin', admin); } Using opencart 2.0.1.1 and Mollie version 5.2.6 https://github.com/mollie/OpenCart/releases
Thank you in advanced.