htmly/system/admin/views/backup.html.php
Danang Probo Sayekti e5d718dc6d Add backup feature
Add backup feature to the core.
2014-02-21 12:49:39 +07:00

15 lines
No EOL
265 B
PHP

<?php
if(login()) {
if(isset($_GET['file'])) {
$file = $_GET['file'];
if(!empty($file)) {
unlink($file);
}
}
}
?>
<a href="<?php echo site_url() ?>admin/backup-start">Create backup</a>
<h2>Your backups</h2>
<?php echo get_backup_files() ?>