Changeset 809 in t29-www for index.php


Ignore:
Timestamp:
Jun 29, 2015, 10:30:56 AM (4 years ago)
Author:
sven
Message:

Backend: Bugfixes beim Hosterkennungssystem. Externe Hosts funktionieren jetzt etwas besser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • index.php

    r706 r809  
    33  * automatical redirection based on user language
    44  */
     5if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
    56 $de = strpos($_SERVER['HTTP_ACCEPT_LANGUAGE'], 'de');
    67 $en = strpos($_SERVER['HTTP_ACCEPT_LANGUAGE'], 'en');
     8} else {
     9 $de = $en = false;
     10}
    711 
    812 // Support web prefixes, aka installation of the homepage in
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License