ErrorException [ Notice ]: Undefined index: HTTP_ACCEPT_LANGUAGE

DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 68 ]

63 			}
64 		}
65 
66 		// No locale in URL
67 		if ($this->iPageId !== 101 && $this->bLocaleInUrl === false && Config::get('site.locale.in.url') == 'true') {
68 			$sLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
69 			$iLocaleId = (int)array_search($sLanguage, $this->aLanguages);
70 			if ($iLocaleId === 0) {
71 				$iLocaleId = $this->iLocaleIdDefault;
72 			}
73 			$this->iLocaleId = $iLocaleId;
  1. DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 68 ] » Kohana_Core::error_handler( arguments )

  2. SYSPATH/classes/Kohana/Controller.php [ 71 ] » Inzite_Controller_Template->before( )

  3. {PHP internal call} » Kohana_Controller->execute( )

  4. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )

  5. SYSPATH/classes/Kohana/Request/Client.php [ 116 ] » Kohana_Request_Client_Internal->execute_request( arguments )

  6. SYSPATH/classes/Kohana/Request.php [ 933 ] » Kohana_Request_Client->execute( arguments )

  7. DOCROOT/public/index.php [ 94 ] » Kohana_Request->execute( )

Environment