ErrorException [ Notice ]: Undefined index: HTTP_ACCEPT_LANGUAGE

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

48 			}
49 		}
50 		
51 		// No locale in URL
52 		if ($this->iPageId !== 101 && $this->bLocaleInUrl === false && Config::get('site.locale.in.url') == 'true') {
53 			$sLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
54 			$iLocaleId = (int)array_search($sLanguage, $this->aLanguages);
55 			if ($iLocaleId === 0) {
56 				$iLocaleId = $this->iLocaleIdDefault;
57 			}
58 			$this->iLocaleId = $iLocaleId;
  1. DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 53 ] » Kohana_Core::error_handler( arguments )

  2. APPPATH/classes/Controller/Template.php [ 28 ] » Inzite_Controller_Template->before( )

  3. DOCROOT/non-public/inzite/classes/Inzite/Controller/Page.php [ 19 ] » Controller_Template->before( )

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

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

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

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

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

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

Environment