Commit 135fff66 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Port to web2project.

parent f6ad31ca
......@@ -13,9 +13,9 @@ $perms =& $AppUI->acl();
if (! $perms->checkModule('backup', 'view'))
$AppUI->redirect('m=public&a=access_denied');
$export_what = dPgetParam($_POST, 'export_what');
$output_format = dPgetParam($_POST, 'output_format');
$droptable = dPgetParam($_POST, 'droptable', false);
$export_what = w2PgetParam($_POST, 'export_what');
$output_format = w2PgetParam($_POST, 'output_format');
$droptable = w2PgetParam($_POST, 'droptable', false);
$valid_export_options = array('all', 'table', 'data');
$valid_output_formats = array('xml', 'zip', 'sql');
......
......@@ -15,7 +15,7 @@ if (! isset($_FILES['xmlfile'])) {
}
$upload_tmp_file = $_FILES['xmlfile']['tmp_name'];
$continue = dPgetParam($_POST, 'continue', false);
$continue = w2PgetParam($_POST, 'continue', false);
require_once $baseDir . '/lib/adodb/adodb-xmlschema.inc.php';
$schema = new adoSchema($GLOBALS['db']);
......
......@@ -20,7 +20,7 @@ $config['mod_ui_icon'] = 'companies.gif';
$config['mod_description'] = 'A module for backing up the database';
if (@$a == 'setup') {
echo dPshowModuleConfig( $config );
echo w2PshowModuleConfig( $config );
}
class CSetupBackup {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment