enable custom handler in admin controller
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user