HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: 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,
Upload Files
File: //var/www/winter_site/wp-content/plugins/smart-slider-3/Nextend/Framework/Platform/Platform.php
<?php


namespace Nextend\Framework\Platform;


use Nextend\Framework\Pattern\SingletonTrait;

class Platform {

    use SingletonTrait;

    /**
     * @var AbstractPlatform
     */
    private static $platform;

    public function __construct() {
        self::$platform = new WordPress\PlatformWordPress();
    }

    public static function getName() {
        return self::$platform->getName();
    }

    public static function getLabel() {
        return self::$platform->getLabel();
    }

    public static function getVersion() {
        return self::$platform->getVersion();
    }

    public static function isAdmin() {
        return self::$platform->isAdmin();
    }

    public static function setIsAdmin($isAdmin) {
        self::$platform->setIsAdmin($isAdmin);
    }

    public static function hasPosts() {
        return self::$platform->hasPosts();
    }

    public static function getSiteUrl() {
        return self::$platform->getSiteUrl();
    }

    public static function getCharset() {
        return self::$platform->getCharset();
    }

    public static function getMysqlDate() {
        return self::$platform->getMysqlDate();
    }

    public static function getTimestamp() {
        return self::$platform->getTimestamp();
    }

    public static function localizeDate($date) {
        return self::$platform->localizeDate($date);
    }

    public static function getPublicDirectory() {
        return self::$platform->getPublicDirectory();
    }

    public static function getUserEmail() {
        return self::$platform->getUserEmail();
    }

    public static function needStrongerCss() {
        return self::$platform->needStrongerCss();
    }

    public static function getDebug() {

        return self::$platform->getDebug();
    }

    public static function filterAssetsPath($assetsPath) {

        return self::$platform->filterAssetsPath($assetsPath);
    }
}

Platform::getInstance();