Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
be0d867663
42
export.php
42
export.php
@ -75,16 +75,16 @@ if ($_REQUEST['output_format'] == 'astext') {
|
||||
// Does export require to be into file?
|
||||
if (isset($export_list[$type]['force_file']) && ! $asfile) {
|
||||
$message = PMA_Message::error(__('Selected export type has to be saved in file!'));
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
if ($export_type == 'server') {
|
||||
$active_page = 'server_export.php';
|
||||
require './server_export.php';
|
||||
include './server_export.php';
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_export.php';
|
||||
require './db_export.php';
|
||||
include './db_export.php';
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require './tbl_export.php';
|
||||
include './tbl_export.php';
|
||||
}
|
||||
exit();
|
||||
}
|
||||
@ -318,16 +318,16 @@ if ($save_on_server) {
|
||||
}
|
||||
}
|
||||
if (isset($message)) {
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
if ($export_type == 'server') {
|
||||
$active_page = 'server_export.php';
|
||||
require './server_export.php';
|
||||
include './server_export.php';
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_export.php';
|
||||
require './db_export.php';
|
||||
include './db_export.php';
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require './tbl_export.php';
|
||||
include './tbl_export.php';
|
||||
}
|
||||
exit();
|
||||
}
|
||||
@ -352,14 +352,14 @@ if (!$save_on_server) {
|
||||
$num_tables = count($tables);
|
||||
if ($num_tables == 0) {
|
||||
$message = PMA_Message::error(__('No tables found in database.'));
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
$active_page = 'db_export.php';
|
||||
require './db_export.php';
|
||||
include './db_export.php';
|
||||
exit();
|
||||
}
|
||||
}
|
||||
$backup_cfgServer = $cfg['Server'];
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
$cfg['Server'] = $backup_cfgServer;
|
||||
unset($backup_cfgServer);
|
||||
echo "\n" . '<div align="' . $cell_align_left . '">' . "\n";
|
||||
@ -416,7 +416,7 @@ do {
|
||||
$cfgRelation = PMA_getRelationsParam();
|
||||
}
|
||||
if ($do_mime) {
|
||||
require_once './libraries/transformations.lib.php';
|
||||
include_once './libraries/transformations.lib.php';
|
||||
}
|
||||
|
||||
// Include dates in export?
|
||||
@ -600,16 +600,16 @@ do {
|
||||
// End of fake loop
|
||||
|
||||
if ($save_on_server && isset($message)) {
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
if ($export_type == 'server') {
|
||||
$active_page = 'server_export.php';
|
||||
require './server_export.php';
|
||||
include './server_export.php';
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_export.php';
|
||||
require './db_export.php';
|
||||
include './db_export.php';
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require './tbl_export.php';
|
||||
include './tbl_export.php';
|
||||
}
|
||||
exit();
|
||||
}
|
||||
@ -654,16 +654,16 @@ if (!empty($asfile)) {
|
||||
$message = new PMA_Message(__('Dump has been saved to file %s.'), PMA_Message::SUCCESS, $save_filename);
|
||||
}
|
||||
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
if ($export_type == 'server') {
|
||||
$active_page = 'server_export.php';
|
||||
require_once './server_export.php';
|
||||
include_once './server_export.php';
|
||||
} elseif ($export_type == 'database') {
|
||||
$active_page = 'db_export.php';
|
||||
require_once './db_export.php';
|
||||
include_once './db_export.php';
|
||||
} else {
|
||||
$active_page = 'tbl_export.php';
|
||||
require_once './tbl_export.php';
|
||||
include_once './tbl_export.php';
|
||||
}
|
||||
exit();
|
||||
} else {
|
||||
@ -704,6 +704,6 @@ if (!empty($asfile)) {
|
||||
//]]>
|
||||
</script>
|
||||
<?php
|
||||
require './libraries/footer.inc.php';
|
||||
include './libraries/footer.inc.php';
|
||||
} // end if
|
||||
?>
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
require_once './libraries/common.inc.php';
|
||||
if (! isset($_REQUEST['get_gis_editor']) && ! isset($_REQUEST['generate'])) {
|
||||
require_once './libraries/header_http.inc.php';
|
||||
require_once './libraries/header_meta_style.inc.php';
|
||||
include_once './libraries/header_http.inc.php';
|
||||
include_once './libraries/header_meta_style.inc.php';
|
||||
}
|
||||
require_once './libraries/gis/pma_gis_factory.php';
|
||||
require_once './libraries/gis_visualization.lib.php';
|
||||
|
||||
16
import.php
16
import.php
@ -53,7 +53,7 @@ if (!empty($sql_query)) {
|
||||
// upload limit has been reached, let's assume the second possibility.
|
||||
;
|
||||
if ($_POST == array() && $_GET == array()) {
|
||||
require_once './libraries/header.inc.php';
|
||||
include_once './libraries/header.inc.php';
|
||||
$message = PMA_Message::error(__('You probably tried to upload too large file. Please refer to %sdocumentation%s for ways to workaround this limit.'));
|
||||
$message->addParam('[a@./Documentation.html#faq1_16@_blank]');
|
||||
$message->addParam('[/a]');
|
||||
@ -63,7 +63,7 @@ if ($_POST == array() && $_GET == array()) {
|
||||
$_SESSION['Import_message']['go_back_url'] = $goto;
|
||||
|
||||
$message->display();
|
||||
require './libraries/footer.inc.php';
|
||||
include './libraries/footer.inc.php';
|
||||
}
|
||||
|
||||
// Check needed parameters
|
||||
@ -148,7 +148,7 @@ $bookmark_created = false;
|
||||
// Bookmark Support: get a query back from bookmark if required
|
||||
if (!empty($id_bookmark)) {
|
||||
$id_bookmark = (int)$id_bookmark;
|
||||
require_once './libraries/bookmark.lib.php';
|
||||
include_once './libraries/bookmark.lib.php';
|
||||
switch ($action_bookmark) {
|
||||
case 0: // bookmarked query that have to be run
|
||||
$import_text = PMA_Bookmark_get($db, $id_bookmark, 'id', isset($action_bookmark_all));
|
||||
@ -183,7 +183,7 @@ if (isset($GLOBALS['show_as_php'])) {
|
||||
|
||||
// Store the query as a bookmark before executing it if bookmarklabel was given
|
||||
if (!empty($bkm_label) && !empty($import_text)) {
|
||||
require_once './libraries/bookmark.lib.php';
|
||||
include_once './libraries/bookmark.lib.php';
|
||||
$bfields = array(
|
||||
'dbase' => $db,
|
||||
'user' => $cfg['Bookmark']['user'],
|
||||
@ -377,7 +377,7 @@ if (!$error) {
|
||||
} else {
|
||||
// Do the real import
|
||||
$plugin_param = $import_type;
|
||||
require './libraries/import/' . $format . '.php';
|
||||
include './libraries/import/' . $format . '.php';
|
||||
}
|
||||
}
|
||||
|
||||
@ -441,7 +441,7 @@ if (isset($message)) {
|
||||
// (but if the query is too large, in case of an imported file, the parser
|
||||
// can choke on it so avoid parsing)
|
||||
if (strlen($sql_query) <= $GLOBALS['cfg']['MaxCharactersInDisplayedSQL']) {
|
||||
require_once './libraries/parse_analyze.lib.php';
|
||||
include_once './libraries/parse_analyze.lib.php';
|
||||
}
|
||||
|
||||
// There was an error?
|
||||
@ -461,10 +461,10 @@ if (! empty($last_query_with_results)) {
|
||||
}
|
||||
|
||||
if ($go_sql) {
|
||||
require './sql.php';
|
||||
include './sql.php';
|
||||
} else {
|
||||
$active_page = $goto;
|
||||
require './' . $goto;
|
||||
include './' . $goto;
|
||||
}
|
||||
exit();
|
||||
?>
|
||||
|
||||
@ -69,7 +69,7 @@ $lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][1];
|
||||
|
||||
|
||||
// start output
|
||||
include './libraries/header_http.inc.php';
|
||||
require './libraries/header_http.inc.php';
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||
|
||||
@ -28,7 +28,7 @@ class Advisor
|
||||
FROM data_dictionary.GLOBAL_STATEMENTS", 0, 1));
|
||||
}
|
||||
// Add total memory to variables as well
|
||||
require_once 'libraries/sysinfo.lib.php';
|
||||
include_once 'libraries/sysinfo.lib.php';
|
||||
$sysinfo = getSysInfo();
|
||||
$memory = $sysinfo->memory();
|
||||
$this->variables['system_memory'] = $memory['MemTotal'];
|
||||
|
||||
@ -75,7 +75,7 @@ function PMA_auth_fails()
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
/* HTML header */
|
||||
$page_title = __('Access denied');
|
||||
require './libraries/header_meta_style.inc.php';
|
||||
include './libraries/header_meta_style.inc.php';
|
||||
?>
|
||||
</head>
|
||||
|
||||
@ -117,7 +117,7 @@ function PMA_auth_fails()
|
||||
<?php
|
||||
if (count($GLOBALS['cfg']['Servers']) > 1) {
|
||||
// offer a chance to login to other servers if the current one failed
|
||||
require_once './libraries/select_server.lib.php';
|
||||
include_once './libraries/select_server.lib.php';
|
||||
echo '<tr>' . "\n";
|
||||
echo ' <td>' . "\n";
|
||||
PMA_select_server(true, true);
|
||||
@ -125,7 +125,7 @@ function PMA_auth_fails()
|
||||
echo '</tr>' . "\n";
|
||||
}
|
||||
echo '</table>' . "\n";
|
||||
require './libraries/footer.inc.php';
|
||||
include './libraries/footer.inc.php';
|
||||
return true;
|
||||
} // end of the 'PMA_auth_fails()' function
|
||||
|
||||
|
||||
@ -73,7 +73,7 @@ if (function_exists('mcrypt_encrypt')) {
|
||||
}
|
||||
|
||||
} else {
|
||||
require_once './libraries/blowfish.php';
|
||||
include_once './libraries/blowfish.php';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -137,9 +137,9 @@ function PMA_auth()
|
||||
|
||||
/* HTML header; do not show here the PMA version to improve security */
|
||||
$page_title = 'phpMyAdmin ';
|
||||
require './libraries/header_meta_style.inc.php';
|
||||
include './libraries/header_meta_style.inc.php';
|
||||
// if $page_title is set, this script uses it as the title:
|
||||
require './libraries/header_scripts.inc.php';
|
||||
include './libraries/header_scripts.inc.php';
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
@ -155,7 +155,7 @@ if (top != self) {
|
||||
|
||||
<?php
|
||||
if (file_exists(CUSTOM_HEADER_FILE)) {
|
||||
require CUSTOM_HEADER_FILE;
|
||||
include CUSTOM_HEADER_FILE;
|
||||
}
|
||||
?>
|
||||
|
||||
@ -184,7 +184,7 @@ if (top != self) {
|
||||
|
||||
// Displays the languages form
|
||||
if (empty($GLOBALS['cfg']['Lang'])) {
|
||||
require_once './libraries/display_select_lang.lib.php';
|
||||
include_once './libraries/display_select_lang.lib.php';
|
||||
// use fieldset, don't show doc link
|
||||
PMA_select_language(true, false);
|
||||
}
|
||||
@ -234,7 +234,7 @@ if (top != self) {
|
||||
}
|
||||
echo '>';
|
||||
|
||||
require_once './libraries/select_server.lib.php';
|
||||
include_once './libraries/select_server.lib.php';
|
||||
PMA_select_server(false, false);
|
||||
|
||||
echo '</select></div>';
|
||||
@ -283,7 +283,7 @@ if (top != self) {
|
||||
</div>
|
||||
<?php
|
||||
if (file_exists(CUSTOM_FOOTER_FILE)) {
|
||||
require CUSTOM_FOOTER_FILE;
|
||||
include CUSTOM_FOOTER_FILE;
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
|
||||
@ -49,13 +49,13 @@ function PMA_auth()
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
/* HTML header */
|
||||
$page_title = __('Access denied');
|
||||
require './libraries/header_meta_style.inc.php';
|
||||
include './libraries/header_meta_style.inc.php';
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
if (file_exists(CUSTOM_HEADER_FILE)) {
|
||||
require CUSTOM_HEADER_FILE;
|
||||
include CUSTOM_HEADER_FILE;
|
||||
}
|
||||
?>
|
||||
|
||||
@ -69,7 +69,7 @@ function PMA_auth()
|
||||
PMA_Message::error(__('Wrong username/password. Access denied.'))->display();
|
||||
|
||||
if (file_exists(CUSTOM_FOOTER_FILE)) {
|
||||
require CUSTOM_FOOTER_FILE;
|
||||
include CUSTOM_FOOTER_FILE;
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
@ -87,7 +87,7 @@ function PMA_auth_check()
|
||||
if (! file_exists($script_name)) {
|
||||
PMA_fatalError(__('Can not find signon authentication script:') . ' ' . $script_name);
|
||||
}
|
||||
require $script_name;
|
||||
include $script_name;
|
||||
|
||||
list ($PHP_AUTH_USER, $PHP_AUTH_PW) = get_login_credentials($cfg['Server']['user']);
|
||||
|
||||
|
||||
@ -69,7 +69,7 @@ function Swekey_auth_error()
|
||||
if (! $_SESSION['SWEKEY']['ENABLED'])
|
||||
return null;
|
||||
|
||||
require_once './libraries/auth/swekey/authentication.inc.php';
|
||||
include_once './libraries/auth/swekey/authentication.inc.php';
|
||||
|
||||
?>
|
||||
<script>
|
||||
@ -115,7 +115,7 @@ function Swekey_auth_error()
|
||||
if (count($_SESSION['SWEKEY']['VALID_SWEKEYS']) == 0)
|
||||
return sprintf(__('File %s does not contain any key id'), $GLOBALS['cfg']['Server']['auth_swekey_config']);
|
||||
|
||||
require_once "./libraries/auth/swekey/swekey.php";
|
||||
include_once "./libraries/auth/swekey/swekey.php";
|
||||
|
||||
Swekey_SetCheckServer($_SESSION['SWEKEY']['CONF_SERVER_CHECK']);
|
||||
Swekey_SetRndTokenServer($_SESSION['SWEKEY']['CONF_SERVER_RNDTOKEN']);
|
||||
|
||||
@ -51,7 +51,7 @@ if ($cfg['RecodingEngine'] == 'iconv') {
|
||||
|
||||
/* Load AIX iconv wrapper if needed */
|
||||
if ($PMA_recoding_engine == PMA_CHARSET_ICONV_AIX) {
|
||||
require_once './libraries/iconv_wrapper.lib.php';
|
||||
include_once './libraries/iconv_wrapper.lib.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -124,17 +124,17 @@ if (!defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* common functions
|
||||
*/
|
||||
require_once './libraries/common.lib.php';
|
||||
include_once './libraries/common.lib.php';
|
||||
|
||||
/**
|
||||
* Java script escaping.
|
||||
*/
|
||||
require_once './libraries/js_escape.lib.php';
|
||||
include_once './libraries/js_escape.lib.php';
|
||||
|
||||
/**
|
||||
* Include URL/hidden inputs generating.
|
||||
*/
|
||||
require_once './libraries/url_generating.lib.php';
|
||||
include_once './libraries/url_generating.lib.php';
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
@ -265,7 +265,7 @@ if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
|
||||
* include deprecated grab_globals only if required
|
||||
*/
|
||||
if (empty($__redirect) && !defined('PMA_NO_VARIABLES_IMPORT')) {
|
||||
require './libraries/grab_globals.lib.php';
|
||||
include './libraries/grab_globals.lib.php';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -484,7 +484,7 @@ if (! PMA_isValid($_REQUEST['token']) || $_SESSION[' PMA_token '] != $_REQUEST['
|
||||
/**
|
||||
* Require cleanup functions
|
||||
*/
|
||||
require './libraries/cleanup.lib.php';
|
||||
include './libraries/cleanup.lib.php';
|
||||
/**
|
||||
* Do actual cleanup
|
||||
*/
|
||||
@ -740,12 +740,12 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* Character set conversion.
|
||||
*/
|
||||
require_once './libraries/charset_conversion.lib.php';
|
||||
include_once './libraries/charset_conversion.lib.php';
|
||||
|
||||
/**
|
||||
* String handling
|
||||
*/
|
||||
require_once './libraries/string.lib.php';
|
||||
include_once './libraries/string.lib.php';
|
||||
|
||||
/**
|
||||
* Lookup server by name
|
||||
@ -793,7 +793,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
*/
|
||||
if (function_exists('mb_convert_encoding')
|
||||
&& $lang == 'ja') {
|
||||
require_once './libraries/kanji-encoding.lib.php';
|
||||
include_once './libraries/kanji-encoding.lib.php';
|
||||
} // end if
|
||||
|
||||
/**
|
||||
@ -810,9 +810,9 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* Loads the proper database interface for this server
|
||||
*/
|
||||
require_once './libraries/database_interface.lib.php';
|
||||
include_once './libraries/database_interface.lib.php';
|
||||
|
||||
require_once './libraries/logging.lib.php';
|
||||
include_once './libraries/logging.lib.php';
|
||||
|
||||
// get LoginCookieValidity from preferences cache
|
||||
// no generic solution for loading preferences from cache as some settings need to be kept
|
||||
@ -837,7 +837,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* the required auth type plugin
|
||||
*/
|
||||
require_once './libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php';
|
||||
include_once './libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php';
|
||||
if (!PMA_auth_check()) {
|
||||
/* Force generating of new session on login */
|
||||
PMA_secureSession();
|
||||
@ -857,7 +857,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* ip based access library
|
||||
*/
|
||||
require_once './libraries/ip_allow_deny.lib.php';
|
||||
include_once './libraries/ip_allow_deny.lib.php';
|
||||
|
||||
$allowDeny_forbidden = false; // default
|
||||
if ($cfg['Server']['AllowDeny']['order'] == 'allow,deny') {
|
||||
@ -954,17 +954,17 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* SQL Parser code
|
||||
*/
|
||||
require_once './libraries/sqlparser.lib.php';
|
||||
include_once './libraries/sqlparser.lib.php';
|
||||
|
||||
/**
|
||||
* SQL Validator interface code
|
||||
*/
|
||||
require_once './libraries/sqlvalidator.lib.php';
|
||||
include_once './libraries/sqlvalidator.lib.php';
|
||||
|
||||
/**
|
||||
* the PMA_List_Database class
|
||||
*/
|
||||
require_once './libraries/PMA.php';
|
||||
include_once './libraries/PMA.php';
|
||||
$pma = new PMA;
|
||||
$pma->userlink = $userlink;
|
||||
$pma->controllink = $controllink;
|
||||
@ -991,7 +991,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
}
|
||||
|
||||
// library file for blobstreaming
|
||||
require_once './libraries/blobstreaming.lib.php';
|
||||
include_once './libraries/blobstreaming.lib.php';
|
||||
|
||||
// checks for blobstreaming plugins and databases that support
|
||||
// blobstreaming (by having the necessary tables for blobstreaming)
|
||||
@ -1040,7 +1040,7 @@ if (!empty($__redirect) && in_array($__redirect, $goto_whitelist)) {
|
||||
/**
|
||||
* include subform target page
|
||||
*/
|
||||
require $__redirect;
|
||||
include $__redirect;
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
|
||||
@ -77,7 +77,7 @@ class ConfigFile
|
||||
{
|
||||
// load default config values
|
||||
$cfg = &$this->cfg;
|
||||
require './libraries/config.default.php';
|
||||
include './libraries/config.default.php';
|
||||
$cfg['fontsize'] = '82%';
|
||||
|
||||
// create PMA_Config to read config.inc.php values
|
||||
@ -85,7 +85,7 @@ class ConfigFile
|
||||
|
||||
// load additional config information
|
||||
$cfg_db = &$this->cfgDb;
|
||||
require './libraries/config.values.php';
|
||||
include './libraries/config.values.php';
|
||||
|
||||
// apply default values overrides
|
||||
if (count($cfg_db['_overrides'])) {
|
||||
@ -452,7 +452,7 @@ class ConfigFile
|
||||
{
|
||||
// Load paths
|
||||
if (!defined('SETUP_CONFIG_FILE')) {
|
||||
require_once './libraries/vendor_config.php';
|
||||
include_once './libraries/vendor_config.php';
|
||||
}
|
||||
|
||||
return SETUP_CONFIG_FILE;
|
||||
@ -500,4 +500,4 @@ class ConfigFile
|
||||
return $c;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -223,7 +223,7 @@ function PMA_fatalError($error_message, $message_args = null)
|
||||
$GLOBALS['PMA_Config']->removeCookie($GLOBALS['session_name']);
|
||||
}
|
||||
|
||||
require './libraries/error.inc.php';
|
||||
include './libraries/error.inc.php';
|
||||
|
||||
if (!defined('TESTSUITE')) {
|
||||
exit;
|
||||
@ -489,7 +489,7 @@ function PMA_getenv($var_name)
|
||||
function PMA_sendHeaderLocation($uri)
|
||||
{
|
||||
if (PMA_IS_IIS && strlen($uri) > 600) {
|
||||
require_once './libraries/js_escape.lib.php';
|
||||
include_once './libraries/js_escape.lib.php';
|
||||
|
||||
echo '<html><head><title>- - -</title>' . "\n";
|
||||
echo '<meta http-equiv="expires" content="0">' . "\n";
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
/**
|
||||
* Load BDB class.
|
||||
*/
|
||||
include_once './libraries/engines/bdb.lib.php';
|
||||
require_once './libraries/engines/bdb.lib.php';
|
||||
|
||||
/**
|
||||
* This is same as BDB.
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/engines/innodb.lib.php';
|
||||
require_once './libraries/engines/innodb.lib.php';
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/engines/merge.lib.php';
|
||||
require_once './libraries/engines/merge.lib.php';
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
* @package phpMyAdmin
|
||||
*/
|
||||
|
||||
include_once "Export_Relation_Schema.class.php";
|
||||
require_once "Export_Relation_Schema.class.php";
|
||||
|
||||
/**
|
||||
* This Class inherits the XMLwriter class and
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
* @package phpMyAdmin
|
||||
*/
|
||||
|
||||
include_once "Export_Relation_Schema.class.php";
|
||||
require_once "Export_Relation_Schema.class.php";
|
||||
|
||||
/**
|
||||
* This Class is EPS Library and
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/pmd_common.php';
|
||||
require_once './libraries/pmd_common.php';
|
||||
|
||||
|
||||
$table = $T;
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
include_once './libraries/pmd_common.php';
|
||||
require_once './libraries/pmd_common.php';
|
||||
|
||||
/**
|
||||
* If called directly from the designer, first save the positions
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/pmd_common.php';
|
||||
require_once './libraries/pmd_common.php';
|
||||
$die_save_pos = 0;
|
||||
include_once 'pmd_save_pos.php';
|
||||
require_once 'pmd_save_pos.php';
|
||||
extract($_POST, EXTR_SKIP);
|
||||
|
||||
$tables = PMA_DBI_get_tables_full($db, $T1);
|
||||
|
||||
@ -8,11 +8,11 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/pmd_common.php';
|
||||
require_once './libraries/pmd_common.php';
|
||||
extract($_POST, EXTR_SKIP);
|
||||
extract($_GET, EXTR_SKIP);
|
||||
$die_save_pos = 0;
|
||||
include_once 'pmd_save_pos.php';
|
||||
require_once 'pmd_save_pos.php';
|
||||
list($DB1,$T1) = explode(".",$T1);
|
||||
list($DB2,$T2) = explode(".",$T2);
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/pmd_common.php';
|
||||
require_once './libraries/pmd_common.php';
|
||||
|
||||
$cfgRelation = PMA_getRelationsParam();
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ $cfgRelation = PMA_getRelationsParam();
|
||||
|
||||
require_once './libraries/transformations.lib.php';
|
||||
require_once './libraries/Index.class.php';
|
||||
include_once "./libraries/schema/Export_Relation_Schema.class.php";
|
||||
require_once "./libraries/schema/Export_Relation_Schema.class.php";
|
||||
|
||||
/**
|
||||
* get all the export options and verify
|
||||
@ -38,5 +38,5 @@ $path = PMA_securePath(ucfirst($export_type));
|
||||
if (!file_exists('./libraries/schema/' . $path . '_Relation_Schema.class.php')) {
|
||||
PMA_Export_Relation_Schema::dieSchema($_POST['chpage'],$export_type,__('File doesn\'t exist'));
|
||||
}
|
||||
include "./libraries/schema/".$path."_Relation_Schema.class.php";
|
||||
require "./libraries/schema/".$path."_Relation_Schema.class.php";
|
||||
$obj_schema = eval("new PMA_".$path."_Relation_Schema();");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user