Support for new packaged extensions system.
[fa-stable.git] / includes / access_levels.inc
index 77dcae9afc1f6ccf489945e2e76f957224b07131..bb84a10a7c66f76ede184deb1b5b00b3d67446c3 100644 (file)
@@ -300,7 +300,7 @@ function get_access_extensions($id) {
        $security_sections = $security_areas = array();
        
        if (isset($ext['acc_file']))
-               include($path_to_root.($ext['type'] == 'plugin' ? '/modules/':'/').$ext['path'].'/'.$ext['acc_file']);
+               include($path_to_root.'/'.$ext['path'].'/'.$ext['acc_file']);
 
        return array($security_areas, $security_sections);
 }