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
a9bb7330f0
commit
e92d6e7398
@ -446,6 +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 ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
1
library/includes/cache/common.php
vendored
1
library/includes/cache/common.php
vendored
@ -77,6 +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 ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
@ -829,6 +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 ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
@ -168,6 +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 ($trace['file'] !== __FILE__)
|
if ($trace['file'] !== __FILE__)
|
||||||
{
|
{
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user