htaccess c'est vraiment de la merde
This commit is contained in:
parent
5638c0712d
commit
04d7d564f1
5 changed files with 15 additions and 14 deletions
|
|
@ -21,8 +21,8 @@
|
|||
public function admin(){
|
||||
|
||||
if (!isset($_SESSION['user']) && ($_SESSION['user']['user_status'] != 1 )){
|
||||
header("Location:index.php?ctrl=error&action=error_403");
|
||||
exit;
|
||||
$error = new \Controllers\ErrorCtrl();
|
||||
return $error->error_403();
|
||||
}
|
||||
|
||||
$objCategoryModel = new CategoryModel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue