replaced array_key_exists with property_exists for object

This commit is contained in:
Shreesh Arora
2023-03-03 18:33:58 +05:30
parent 7f7122d602
commit 993ef2ddf9
7 changed files with 11 additions and 11 deletions

View File

@@ -93,9 +93,9 @@ abstract class ControllerCore
*/
public function init()
{
if (_PS_MODE_DEV_ && $this->controller_type == 'admin') {
set_error_handler(array(__CLASS__, 'myErrorHandler'));
}
// if (_PS_MODE_DEV_ && $this->controller_type == 'admin') {
// set_error_handler(array(__CLASS__, 'myErrorHandler'));
// }
if (!defined('_PS_BASE_URL_')) {
define('_PS_BASE_URL_', Tools::getShopDomain(true));