Changeset 809 in t29-www
- Timestamp:
- Jun 29, 2015, 10:30:56 AM (8 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
index.php
r706 r809 3 3 * automatical redirection based on user language 4 4 */ 5 if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { 5 6 $de = strpos($_SERVER['HTTP_ACCEPT_LANGUAGE'], 'de'); 6 7 $en = strpos($_SERVER['HTTP_ACCEPT_LANGUAGE'], 'en'); 8 } else { 9 $de = $en = false; 10 } 7 11 8 12 // Support web prefixes, aka installation of the homepage in -
lib/host.php
r650 r809 168 168 * 2. if this host is *not* installed in its own virtualhost (i.e. on docroot). 169 169 * 170 * Note: 171 * This is only public as it must be able to be overwritten by subclasses. 172 * This should be a constructor! 173 * 170 174 * @returns $this for chaining 171 175 **/ 172 p rivatefunction setup() {176 public function setup() { 173 177 $this->is_rewriting_host = isset($_SERVER[self::env_hidesuffix_name]); 174 178
Note: See TracChangeset
for help on using the changeset viewer.