cms.parametres-client-change.php 551 B

12345678910111213141516171819
  1. <?php
  2. if (core::ifPost("from")) {
  3. clients::maj(core::getPost("id"), core::getPost("value"));
  4. json::create("documents");
  5. json::create("documents-limited");
  6. historique::recRef("/parametres-clients.html");
  7. historique::add(array(
  8. "idType" => historique::getIdRef("ACTION"),
  9. "idUser" => session::getId(),
  10. "idPage" => historique::getIdRef("/parametres-clients.html"),
  11. "log" => "Modification du client : " . core::getPost("value")
  12. ));
  13. } else {
  14. header('HTTP/1.0 401 Unauthorized');
  15. exit();
  16. }