Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
backup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web2project
backup
Commits
135fff66
Commit
135fff66
authored
Apr 30, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port to web2project.
parent
f6ad31ca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
do_backup.php
do_backup.php
+3
-3
do_restore.php
do_restore.php
+1
-1
setup.php
setup.php
+1
-1
No files found.
do_backup.php
View file @
135fff66
...
...
@@ -13,9 +13,9 @@ $perms =& $AppUI->acl();
if
(
!
$perms
->
checkModule
(
'backup'
,
'view'
))
$AppUI
->
redirect
(
'm=public&a=access_denied'
);
$export_what
=
d
PgetParam
(
$_POST
,
'export_what'
);
$output_format
=
d
PgetParam
(
$_POST
,
'output_format'
);
$droptable
=
d
PgetParam
(
$_POST
,
'droptable'
,
false
);
$export_what
=
w2
PgetParam
(
$_POST
,
'export_what'
);
$output_format
=
w2
PgetParam
(
$_POST
,
'output_format'
);
$droptable
=
w2
PgetParam
(
$_POST
,
'droptable'
,
false
);
$valid_export_options
=
array
(
'all'
,
'table'
,
'data'
);
$valid_output_formats
=
array
(
'xml'
,
'zip'
,
'sql'
);
...
...
do_restore.php
View file @
135fff66
...
...
@@ -15,7 +15,7 @@ if (! isset($_FILES['xmlfile'])) {
}
$upload_tmp_file
=
$_FILES
[
'xmlfile'
][
'tmp_name'
];
$continue
=
d
PgetParam
(
$_POST
,
'continue'
,
false
);
$continue
=
w2
PgetParam
(
$_POST
,
'continue'
,
false
);
require_once
$baseDir
.
'/lib/adodb/adodb-xmlschema.inc.php'
;
$schema
=
new
adoSchema
(
$GLOBALS
[
'db'
]);
...
...
setup.php
View file @
135fff66
...
...
@@ -20,7 +20,7 @@ $config['mod_ui_icon'] = 'companies.gif';
$config
[
'mod_description'
]
=
'A module for backing up the database'
;
if
(
@
$a
==
'setup'
)
{
echo
d
PshowModuleConfig
(
$config
);
echo
w2
PshowModuleConfig
(
$config
);
}
class
CSetupBackup
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment