diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index 3638da31a76..b97721f2108 100644 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -81,12 +81,6 @@ if (! empty($_GET['conf'])) $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 $result=@include_once $conffile; // Keep @ because with some error reporting this break the redirect