|
|
@@ -129,6 +129,15 @@ if (core::ifPost("from") AND core::getPost("from") == $name["files"]) {
|
|
|
|
|
|
json::create("excel-proweb");
|
|
|
json::create($name["json"]);
|
|
|
+
|
|
|
+ historique::recRef("/proweb-export-csv.html");
|
|
|
+ historique::add(array(
|
|
|
+ "idType" => historique::getIdRef("ACTION"),
|
|
|
+ "idUser" => session::getId(),
|
|
|
+ "idPage" => historique::getIdRef("/proweb-export-csv.html"),
|
|
|
+ "log" => "Import du fichier " . $_FILES[$name["files"]]['name']
|
|
|
+ ));
|
|
|
+
|
|
|
alert::recSuccess("Le fichier " . $_FILES[$name["files"]]['name'] . " a été chargé avec succès");
|
|
|
header("Location: /".$name["returnOk"] . ".html");
|
|
|
exit();
|