mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update ajax.php
This commit is contained in:
parent
e6d81dbe43
commit
5a0b8a5bdb
2
ajax.php
2
ajax.php
@ -215,6 +215,8 @@ class ajax_common
|
|||||||
{
|
{
|
||||||
$this->response['error_code'] = $error_code;
|
$this->response['error_code'] = $error_code;
|
||||||
$this->response['error_msg'] = strip_tags(preg_replace('#<br\s*/?>#i', "\n", $error_msg));
|
$this->response['error_msg'] = strip_tags(preg_replace('#<br\s*/?>#i', "\n", $error_msg));
|
||||||
|
|
||||||
|
// Get caller info
|
||||||
if (!empty($_COOKIE['explain']))
|
if (!empty($_COOKIE['explain']))
|
||||||
{
|
{
|
||||||
$ajax_debug = 'ajax die: ' . $this->debug_find_source();
|
$ajax_debug = 'ajax die: ' . $this->debug_find_source();
|
||||||
|
Loading…
Reference in New Issue
Block a user