GET flag to skip accelerator
This commit is contained in:
parent
68f3ebb2c6
commit
f4a98e7a9b
@ -262,6 +262,8 @@ class Image
|
|||||||
|
|
||||||
public static function query_accelerator($req)
|
public static function query_accelerator($req)
|
||||||
{
|
{
|
||||||
|
if(isset($_GET['DISABLE_ACCEL'])) return null;
|
||||||
|
|
||||||
global $_tracer;
|
global $_tracer;
|
||||||
$fp = @fsockopen("127.0.0.1", 21212);
|
$fp = @fsockopen("127.0.0.1", 21212);
|
||||||
if (!$fp) {
|
if (!$fp) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user