2
0

cms.parametres-json-refresh.php 722 B

123456789101112131415161718192021222324252627
  1. <?php
  2. json::create("salaries");
  3. json::create("excel");
  4. json::create("excel-proweb");
  5. json::create("events");
  6. json::create("users");
  7. json::create("salaries-proweb");
  8. json::create("lotterys");
  9. json::create("banque-lignes-1");
  10. json::create("banque-lignes-2");
  11. json::create("banque-lignes-3");
  12. json::create("banque-lignes-4");
  13. json::create("banque-csv");
  14. historique::recRef("/parametres.html");
  15. historique::add(array(
  16. "idType" => historique::getIdRef("ACTION"),
  17. "idUser" => session::getId(),
  18. "idPage" => historique::getIdRef("/parametres.html"),
  19. "log" => "Réinitialisation des JSON"
  20. ));
  21. alert::recSuccess("Réinitialisation des JSON réalisé avec succès");
  22. header("Location: /parametres.html");
  23. exit();