uawdijnntqw1x1x1
IP : 104.23.243.222
Hostname : vps-ebe98236
Kernel : Linux vps-ebe98236 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
html
/
Joomla
/
b2748
/
..
/
libraries
/
gantry5
/
classes
/
..
/
RealLoader.php
/
/
<?php /** * @package Gantry5 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC * @license Dual License: MIT or GNU/GPLv2 and later * * http://opensource.org/licenses/MIT * http://www.gnu.org/licenses/gpl-2.0.html * * Gantry Framework code that extends GPL code is considered GNU/GPLv2 and later */ namespace Gantry5; /** * Use \Gantry5\Loader::setup() or \Gantry5\Loader::get() instead. * * This class separates Loader logic from the \Gantry5\Loader class. By adding this extra class we are able to upgrade * Gantry5 and initializing the new version during a single request -- as long as Gantry5 has not been initialized. * * @internal */ abstract class RealLoader { protected static $errorMessagePhpMin = 'You are running PHP %s, but Gantry 5 Framework needs at least PHP %s to run.'; protected static $errorMessageGantryLoaded = 'Attempting to load Gantry 5 Framework multiple times.'; /** * Initializes Gantry5 and returns Composer ClassLoader. * * @return \Composer\Autoload\ClassLoader * @throws \RuntimeException * @throws \LogicException */ public static function getClassLoader() { // Fail safe version check for PHP <5.5.9. if (version_compare($phpVersion = PHP_VERSION, '5.5.9', '<')) { throw new \RuntimeException(sprintf(self::$errorMessagePhpMin, $phpVersion, '5.5.9')); } if (defined('GANTRY5_VERSION')) { throw new \LogicException(self::$errorMessageGantryLoaded); } define('GANTRY5_VERSION', '5.4.35'); define('GANTRY5_VERSION_DATE', 'September 8, 2020'); if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } define('GANTRY_DEBUGGER', class_exists('Gantry\\Debugger')); return self::autoload(); } /** * @return \Composer\Autoload\ClassLoader * @throws \LogicException * @internal */ protected static function autoload() { // Register platform specific overrides. if (defined('JVERSION') && defined('JPATH_ROOT')) { define('GANTRY5_PLATFORM', 'joomla'); define('GANTRY5_ROOT', JPATH_ROOT); } elseif (defined('WP_DEBUG') && defined('ABSPATH')) { define('GANTRY5_PLATFORM', 'wordpress'); if (class_exists('Env') && defined('CONTENT_DIR')) { // Bedrock support. define('GANTRY5_ROOT', preg_replace('|' . preg_quote(CONTENT_DIR). '$|', '', WP_CONTENT_DIR)); } else { // Plain WP support. define('GANTRY5_ROOT', dirname(WP_CONTENT_DIR)); } } elseif (defined('GRAV_VERSION') && defined('ROOT_DIR')) { define('GANTRY5_PLATFORM', 'grav'); define('GANTRY5_ROOT', rtrim(ROOT_DIR, '/')); } elseif (defined('PRIME_ROOT')) { define('GANTRY5_PLATFORM', 'prime'); define('GANTRY5_ROOT', PRIME_ROOT); } else { throw new \RuntimeException('Gantry: CMS not detected!'); } $base = __DIR__; $vendor = "{$base}/platforms/" . GANTRY5_PLATFORM; $dev = is_dir($vendor); if (!$dev) { $vendor = $base; } $autoload = "{$vendor}/vendor/autoload.php"; // Initialize auto-loading. if (!file_exists($autoload)) { throw new \LogicException('Please run composer in Gantry 5 Library!'); } /** @var \Composer\Autoload\ClassLoader $loader */ $loader = require_once $autoload; if ($dev) { $loader->addPsr4('Gantry\\', "{$base}/classes/Gantry"); } return $loader; } }
/var/www/html/Joomla/b2748/../libraries/gantry5/classes/../RealLoader.php