Update ajax.php

This commit is contained in:
Roman Kelesidis 2023-11-04 10:48:47 +07:00
parent e6d81dbe43
commit 5a0b8a5bdb

View File

@ -215,6 +215,8 @@ class ajax_common
{
$this->response['error_code'] = $error_code;
$this->response['error_msg'] = strip_tags(preg_replace('#<br\s*/?>#i', "\n", $error_msg));
// Get caller info
if (!empty($_COOKIE['explain']))
{
$ajax_debug = 'ajax die: ' . $this->debug_find_source();