Changeset 13956 for trunk/install.php


Ignore:
Timestamp:
Apr 7, 2012, 11:00:51 PM (12 years ago)
Author:
plg
Message:

merge r13955 from branch 2.3 to trunk

bug 2610 fixed: make sure the $_GETlang or $_GETlanguage is in the
list of available languages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.php

    r12922 r13956  
    166166{
    167167  $language = strip_tags($_GET['language']);
     168 
     169  if (!in_array($language, array_keys($languages->fs_languages)))
     170  {
     171    $language = PHPWG_DEFAULT_LANGUAGE;
     172  }
    168173}
    169174else
Note: See TracChangeset for help on using the changeset viewer.