latham
2011-05-25 f99b37f56dad8e3a1f844f8d3b33ee1ba4b86d62
interface/web/designer/module_nav_edit.php
@@ -34,12 +34,10 @@
if($_SESSION['s']['user']['typ'] != 'admin'){
    die('Admin permissions required.');
}
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
//* Check permissions for module
if(!stristr($_SESSION['s']['user']['modules'],$_SESSION['s']['module']['name'])) {
   header('Location: ../index.php');
   exit;
}
$app->auth->check_module_permissions('designer');
//* Load template
$app->uses('tpl');