Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/j3/htaccess.back/smartslider3/src/Framework/Acl/Joomla/ |
| [Home] [System Details] [Kill Me] |
<?php
namespace Nextend\Framework\Acl\Joomla;
use JFactory;
use Nextend\Framework\Acl\AbstractPlatformAcl;
class JoomlaAcl extends AbstractPlatformAcl {
private $user = null;
public function __construct() {
$this->user = JFactory::getUser();
}
public function authorise($action, $MVCHelper) {
return $this->user->authorise(str_replace('_',
'.', $action), 'com_smartslider3');
}
}