1234567891011121314151617 |
- <?php
- /*
- * Create a new backup file
- */
- elgg_load_library("backup_tool");
- $backup_options = get_input("backup_options");
- if ($filename = backup_tool_create_backup($backup_options)){
- system_messages(elgg_echo("backup-tool:create:success", array($filename)));
- }else{
- register_error(elgg_echo("backup-tool:create:fail"));
- }
- exit();
|