HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/plugins/shortpixel-image-optimiser/class/external/flywheel.php
<?php
namespace ShortPixel;
use ShortPixel\ShortPixelLogger\ShortPixelLogger as Log;

/* Prevent Flock Queue on FlyWheel Cloud Hosting due to performance issues.
*
* Detect Flywheel and set Constant
*/

if (isset($_SERVER['SERVER_SOFTWARE']))
{
    $server = strtolower($_SERVER['SERVER_SOFTWARE']);

    if (strpos($server, 'flywheel') !== false) // server detected
    {
        $pos = strpos($server, '/') + 1;

        $version = substr($server, $pos);

        if (version_compare($version, '5.0.0') >= 0)
        {
          Log::addInfo('Flywheel detected on ' . $server . ' . Starting NOFLOCK Queue.');
          if (! defined('SHORTPIXEL_NOFLOCK'))
            define('SHORTPIXEL_NOFLOCK', 1);
        }
    }
}