27 require_once(
"../class/config.php");
30 include_once(
'head.php');
31 echo
"<p class=\"alert alert-warning\">"._(
"You aren't allowed to access this page. Contact your administrator if you want to.").
"</p>";
32 include_once(
'foot.php');
38 "id" => array (
"post",
"string",
""),
39 "bck_mode" => array (
"post",
"integer", 0),
40 "bck_history" => array (
"post",
"integer", 7),
41 "bck_gzip" => array (
"post",
"integer", 0),
42 "bck_dir" => array (
"post",
"string",
"/"),
48 $mysql->put_mysql_backup(
$id,$bck_mode,$bck_history,$bck_gzip,$bck_dir);
50 if (
$msg->has_msgs(
"ERROR")) {
51 include(
"sql_bck.php");
54 $msg->raise(
"INFO",
"mysql", _(
"Your backup parameters has been successfully changed."));
56 include(
"sql_list.php");
variable_get($name, $default=null, $createit_comment=null)
Return a persistent variable.
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
if(! variable_get('sql_allow_users_backups')) $fields
Receive the post for the management of the Backup of MySQL database.
if(!isset($is_include)) if(! $key &&! $crt) $id