. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 87.98.249.37 / Your IP : 216.73.216.208 [ Web Server : Microsoft-IIS/10.0 System : Windows NT NS3076740 10.0 build 17763 (Windows Server 2019) AMD64 User : IWPD_292(growel19p) ( 0) PHP Version : 8.3.12 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/growel.com/httpdocs/blog/wp-content/plugins/firebox/ |
Upload File : |
<?php
/**
* @package FireBox
* @version 3.1.4 Free
*
* @author FirePlugins <info@fireplugins.com>
* @link https://www.fireplugins.com
* @copyright Copyright © 2025 FirePlugins All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
// If this file is called directly, abort.
if (!defined('ABSPATH'))
{
exit; // Exit if accessed directly.
}
if (!function_exists('firebox_autoloader'))
{
function firebox_autoloader($class)
{
if (strpos($class, 'FireBox\\') !== 0)
{
return;
}
// plugin namespaces
$firebox_namespaces = [
'FireBox\\Core\\' => [ __DIR__ . '/Inc/Core/' ],
'FireBox\\Testing\\' => [ dirname(__DIR__) . '/tests/' ],
];
$class = firepluginsframework_fixClassBasedOnNamespace($firebox_namespaces, $class);
$file = str_replace(['\\'], ['/'], $class) . '.php';
if (file_exists($file))
{
require_once $file;
}
}
}
// autoload classes
spl_autoload_register('firebox_autoloader');