WARNING » Undefined array key "HTTP_ACCEPT_LANGUAGE"

     C:\inetpub\vhosts\sillehan.com\httpdocs\Projects\Frontend\Controllers\Initialize.php
        

4.  {
5.      /**
6.       * The codes to run at startup.
7.       * It enters the circuit before all controllers.
8.       * You can change this setting in Config/Starting.php file.
9.       */
10.      public function main()
11.      {
12.          $supportedLanguages = ['en''tr''es''de'];
13. 
         
$browserLang substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 02); 14.  15.          // Eğer desteklenmeyen bir dilse 'en' olarak ayarla 16.          $selectedLang in_array($browserLang$supportedLanguages) ? $browserLang 'en'; 17.  18.          Lang::set($selectedLang); 19.  20.          # Tema ve sayfa ayarları 21.          Theme::active('Default'); 22.  23.          Masterpage::headPage('Sections/head')