HEX
Server: LiteSpeed
System: Linux server53.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/nahevttf/www/wp-content/plugins/smart-slider-3/Nextend/Framework/Acl/Acl.php
<?php

namespace Nextend\Framework\Acl;

use Nextend\Framework\Acl\Joomla\JoomlaAcl;
use Nextend\Framework\Acl\WordPress\WordPressAcl;
use Nextend\Framework\Pattern\MVCHelperTrait;

class Acl {

    /**
     * @var AbstractPlatformAcl
     */
    private static $instance;

    public function __construct() {
        self::$instance = new WordPressAcl();
    }

    /**
     * @param                $action
     * @param MVCHelperTrait $MVCHelper
     *
     * @return bool
     */
    public static function canDo($action, $MVCHelper) {
        return self::$instance->authorise($action, $MVCHelper);
    }
}

new Acl();