2
0

cms.parametres-add-backup.php 230 B

123456789101112
  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. }