mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
cf917c1642
commit
9b9d9dd5d9
4
ajax.php
4
ajax.php
@ -217,7 +217,9 @@ class ajax_common
|
|||||||
$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));
|
||||||
if (DEBUG_AJAX_DIE)
|
if (DEBUG_AJAX_DIE)
|
||||||
{
|
{
|
||||||
$this->response['console_log'] = 'ajax die: ' . $this->debug_find_source();
|
$ajax_debug = 'ajax die: ' . $this->debug_find_source();
|
||||||
|
$this->response['error_msg'] .= "\n\n" . $ajax_debug;
|
||||||
|
$this->response['console_log'] = $ajax_debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->send();
|
$this->send();
|
||||||
|
@ -323,7 +323,7 @@ define('SPHINX_LOG_NAME', 'sphinx_errors'); // имя файла с лог
|
|||||||
|
|
||||||
define('DBG_LOG', true); // включить логирование событий движка (отключите на боевом сервере)
|
define('DBG_LOG', true); // включить логирование событий движка (отключите на боевом сервере)
|
||||||
define('DBG_LOG_TRACKER', false); // включить логирование событий анонсера (отключите на боевом сервере)
|
define('DBG_LOG_TRACKER', false); // включить логирование событий анонсера (отключите на боевом сервере)
|
||||||
define('DEBUG_AJAX_DIE', true); // отображать в консоли браузера файл:строку в которой происходит вызов ajax_die()
|
define('DEBUG_AJAX_DIE', true); // отображать в консоли браузера и alert окне файл:строку в которой происходит вызов ajax_die()
|
||||||
define('COOKIE_DBG', 'bb_dbg'); // debug cookie name
|
define('COOKIE_DBG', 'bb_dbg'); // debug cookie name
|
||||||
define('SQL_DEBUG', true); // включить отладку для SQL запросов и Cache & Datastore
|
define('SQL_DEBUG', true); // включить отладку для SQL запросов и Cache & Datastore
|
||||||
define('SQL_BB_LOG_NAME', 'sql_error_bb'); // имя лог файла с SQL ошибками (Форум)
|
define('SQL_BB_LOG_NAME', 'sql_error_bb'); // имя лог файла с SQL ошибками (Форум)
|
||||||
|
Loading…
Reference in New Issue
Block a user