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
e92d6e7398
commit
3670bf7c1d
@ -446,7 +446,7 @@ class sql_db
|
|||||||
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if (empty($trace['file']) || empty($trace['line'])) break;
|
if (empty($trace['file']) || empty($trace['line'])) continue;
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
2
library/includes/cache/common.php
vendored
2
library/includes/cache/common.php
vendored
@ -77,7 +77,7 @@ class cache_common
|
|||||||
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if (empty($trace['file']) || empty($trace['line'])) break;
|
if (empty($trace['file']) || empty($trace['line'])) continue;
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
@ -829,7 +829,7 @@ class sql_db
|
|||||||
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if (empty($trace['file']) || empty($trace['line'])) break;
|
if (empty($trace['file']) || empty($trace['line'])) continue;
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
@ -168,7 +168,7 @@ class datastore_common
|
|||||||
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
if (!SQL_PREPEND_SRC_COMM) return 'src disabled';
|
||||||
foreach (debug_backtrace() as $trace)
|
foreach (debug_backtrace() as $trace)
|
||||||
{
|
{
|
||||||
if (empty($trace['file']) || empty($trace['line'])) break;
|
if (empty($trace['file']) || empty($trace['line'])) continue;
|
||||||
if ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user