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
2bd4c00028
commit
a95ababa95
@ -443,6 +443,7 @@ class sql_db
|
|||||||
*/
|
*/
|
||||||
function debug_find_source ($mode = '')
|
function debug_find_source ($mode = '')
|
||||||
{
|
{
|
||||||
|
if (!SQL_PREPEND_SRC_COMM) return '';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
|
1
library/includes/cache/common.php
vendored
1
library/includes/cache/common.php
vendored
@ -74,6 +74,7 @@ class cache_common
|
|||||||
*/
|
*/
|
||||||
function debug_find_source ($mode = '')
|
function debug_find_source ($mode = '')
|
||||||
{
|
{
|
||||||
|
if (!SQL_PREPEND_SRC_COMM) return '';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
|
@ -829,6 +829,7 @@ class sql_db
|
|||||||
*/
|
*/
|
||||||
function debug_find_source ($mode = '')
|
function debug_find_source ($mode = '')
|
||||||
{
|
{
|
||||||
|
if (!SQL_PREPEND_SRC_COMM) return '';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
|
@ -165,6 +165,7 @@ class datastore_common
|
|||||||
*/
|
*/
|
||||||
function debug_find_source ($mode = '')
|
function debug_find_source ($mode = '')
|
||||||
{
|
{
|
||||||
|
if (!SQL_PREPEND_SRC_COMM) return '';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
|
Loading…
Reference in New Issue
Block a user