cms.parametres-add-backup.php 229 B

1234567891011
  1. <?php
  2. if (core::ifGet("from")) {
  3. backup::create();
  4. file::cleanFilesByOrder(DIR_BACKUP, BACKUP_LIMIT);
  5. header("Location: /parametres.html");
  6. exit();
  7. } else {
  8. header('HTTP/1.0 401 Unauthorized');
  9. exit();
  10. }