cms.parametres-json-refresh.php 673 B

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