ErrorException [ Notice ]: Undefined index: HTTP_ACCEPT_LANGUAGE

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

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

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

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

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

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

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

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

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

Environment