This commit is contained in:
Roman Kelesidis 2023-10-22 17:15:42 +07:00
parent bdec54f605
commit a9bb7330f0
4 changed files with 4 additions and 4 deletions

View File

@ -443,7 +443,7 @@ class sql_db
*/
function debug_find_source ($mode = '')
{
if (!SQL_PREPEND_SRC_COMM) return '';
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
foreach (debug_backtrace() as $trace)
{
if ($trace['file'] !== __FILE__)

View File

@ -74,7 +74,7 @@ class cache_common
*/
function debug_find_source ($mode = '')
{
if (!SQL_PREPEND_SRC_COMM) return '';
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
foreach (debug_backtrace() as $trace)
{
if ($trace['file'] !== __FILE__)

View File

@ -826,7 +826,7 @@ class sql_db
*/
function debug_find_source ($mode = '')
{
if (!SQL_PREPEND_SRC_COMM) return '';
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
foreach (debug_backtrace() as $trace)
{
if ($trace['file'] !== __FILE__)

View File

@ -165,7 +165,7 @@ class datastore_common
*/
function debug_find_source ($mode = '')
{
if (!SQL_PREPEND_SRC_COMM) return '';
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
foreach (debug_backtrace() as $trace)
{
if ($trace['file'] !== __FILE__)