Server IP : 162.0.217.223 / Your IP : 216.73.216.150 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/backup/msckey.com/wp-content/plugins/smart-slider-3/Nextend/Framework/Acl/ |
Upload File : |
<?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();