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