2
0

cms.parametres-json-refresh.php 784 B

1234567891011121314151617181920212223242526272829
  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. json::create("documents");
  15. json::create("documents-limited");
  16. historique::recRef("/parametres.html");
  17. historique::add(array(
  18. "idType" => historique::getIdRef("ACTION"),
  19. "idUser" => session::getId(),
  20. "idPage" => historique::getIdRef("/parametres.html"),
  21. "log" => "Réinitialisation des JSON"
  22. ));
  23. alert::recSuccess("Réinitialisation des JSON réalisé avec succès");
  24. header("Location: /parametres.html");
  25. exit();