Rename db_* files to drop useless _details part.
This commit is contained in:
22
export.php
22
export.php
@@ -32,8 +32,8 @@ if (isset($export_list[$type]['force_file']) && ! isset($asfile)) {
|
||||
$active_page = 'server_export.php';
|
||||
require('./server_export.php');
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_details_export.php';
|
||||
require('./db_details_export.php');
|
||||
$active_page = 'db_export.php';
|
||||
require('./db_export.php');
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require('./tbl_export.php');
|
||||
@@ -45,7 +45,7 @@ if (isset($export_list[$type]['force_file']) && ! isset($asfile)) {
|
||||
if ($export_type == 'server') {
|
||||
$err_url = 'server_export.php?' . PMA_generate_common_url();
|
||||
} elseif ($export_type == 'database' && isset($db) && strlen($db)) {
|
||||
$err_url = 'db_details_export.php?' . PMA_generate_common_url($db);
|
||||
$err_url = 'db_export.php?' . PMA_generate_common_url($db);
|
||||
} elseif ($export_type == 'table' && isset($db) && strlen($db) && isset($table) && strlen($table)) {
|
||||
$err_url = 'tbl_export.php?' . PMA_generate_common_url($db, $table);
|
||||
} else {
|
||||
@@ -300,8 +300,8 @@ if ($save_on_server) {
|
||||
$active_page = 'server_export.php';
|
||||
require('./server_export.php');
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_details_export.php';
|
||||
require('./db_details_export.php');
|
||||
$active_page = 'db_export.php';
|
||||
require('./db_export.php');
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require('./tbl_export.php');
|
||||
@@ -349,8 +349,8 @@ if (!$save_on_server) {
|
||||
$message = $strNoTablesFound;
|
||||
$js_to_run = 'functions.js';
|
||||
require_once('./libraries/header.inc.php');
|
||||
$active_page = 'db_details_export.php';
|
||||
require('./db_details_export.php');
|
||||
$active_page = 'db_export.php';
|
||||
require('./db_export.php');
|
||||
exit();
|
||||
}
|
||||
}
|
||||
@@ -549,8 +549,8 @@ if ($save_on_server && isset($message)) {
|
||||
$active_page = 'server_export.php';
|
||||
require('./server_export.php');
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_details_export.php';
|
||||
require('./db_details_export.php');
|
||||
$active_page = 'db_export.php';
|
||||
require('./db_export.php');
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require('./tbl_export.php');
|
||||
@@ -611,8 +611,8 @@ if (!empty($asfile)) {
|
||||
$active_page = 'server_export.php';
|
||||
require_once('./server_export.php');
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_details_export.php';
|
||||
require_once('./db_details_export.php');
|
||||
$active_page = 'db_export.php';
|
||||
require_once('./db_export.php');
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require_once('./tbl_export.php');
|
||||
|
Reference in New Issue
Block a user