HOR-492
This commit is contained in:
@@ -149,8 +149,8 @@ class Designer extends Controller
|
||||
if ($user->checkPermission($row['USER_ID'], 'PM_FACTORY') || $proReadOnly == 'true') {
|
||||
$this->setView('designer/index');
|
||||
} else {
|
||||
$this->setVar('accessDenied', G::LoadTranslation('ID_ACCESS_DENIED'));
|
||||
$this->setView('designer/accessDenied');
|
||||
G::header('Location: /errors/error403.php');
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<div><h1>{$accessDenied}</h1></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user