HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/backip-old-files/libraries/smartslider3/src/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 JoomlaAcl();
    
    }

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

new Acl();