Commit 318cb83c authored by Jean-Philippe Levy's avatar Jean-Philippe Levy
Browse files

Fix ged filter and uppercase

parent ceaaf976
......@@ -38,8 +38,8 @@ include("../monitoring_ged/ged_functions.php");
if(isset($_GET["user_id"]) && isset($_GET["user_name"])){
$user_id = isset($_GET["user_id"]) ? $_GET["user_id"] : false;
$user_name = isset($_GET["user_name"]) ? $_GET["user_name"] : false;
$file="../../cache/".$user_name."-ged.xml";
$file_url="/cache/".$user_name."-ged.xml";
$file="../../cache/".strtolower($user_name)."-ged.xml";
$file_url="/cache/".strtolower($user_name)."-ged.xml";
}
// Verify if user limitation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment