mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fix problem "found" on www.autosectools.com>
This commit is contained in:
parent
99b209ab49
commit
ff4369d6b3
@ -1,10 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$lang = $_GET['lang'];
|
if (preg_match('/^[a-z0-9-]+$/i', $_REQUEST['lang'])) {
|
||||||
if (!$lang) {
|
|
||||||
$lang = $_REQUEST['lang'];
|
$lang = $_REQUEST['lang'];
|
||||||
}
|
}
|
||||||
if (!$lang) {
|
else {
|
||||||
$lang = 'en';
|
$lang = 'en';
|
||||||
}
|
}
|
||||||
setcookie('lang', $lang);
|
setcookie('lang', $lang);
|
||||||
|
Loading…
Reference in New Issue
Block a user