Remove security fix
This commit is contained in:
parent
fdea892e3b
commit
051b412c17
@ -81,12 +81,6 @@ if (! empty($_GET['conf']))
|
|||||||
$conffile = 'conf/'.$confname.'.php';
|
$conffile = 'conf/'.$confname.'.php';
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
if (!empty($_GET['conf'])) {
|
|
||||||
setcookie('dolconf', $_GET['conf']);
|
|
||||||
$conffile = 'conf/' . $_GET['conf'] . '.php';
|
|
||||||
} else {
|
|
||||||
$conffile = 'conf/' . (!empty($_COOKIE['dolconf']) ? $_COOKIE['dolconf'] : 'conf') . '.php';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Include configuration
|
// Include configuration
|
||||||
$result=@include_once $conffile; // Keep @ because with some error reporting this break the redirect
|
$result=@include_once $conffile; // Keep @ because with some error reporting this break the redirect
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user