htaccess c'est vraiment de la merde

This commit is contained in:
Yass 2026-03-03 11:16:14 +01:00
parent 5638c0712d
commit 04d7d564f1
5 changed files with 15 additions and 14 deletions

View file

@ -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;