Deploy on 2026-06-05 17:32:29

This commit is contained in:
Hamza-Ayed
2026-06-05 17:32:29 +03:00
parent 0657296c38
commit e5074451af
6 changed files with 25 additions and 119 deletions

View File

@@ -25,7 +25,7 @@ abstract class Controller
}
// Automatically inject current language, translation array, and authenticated user
$lang = $this->session->get('lang', 'en');
$lang = 'ar';
$langFile = __DIR__ . "/../../resources/lang/{$lang}.php";
$t = file_exists($langFile) ? require $langFile : [];
$user = \App\Core\App::$app->request->routeParam('_authenticated_user');