No need to explicitely include relation.lib its anyway included in common.inc
This commit is contained in:
@@ -22,7 +22,6 @@ require_once './libraries/header_http.inc.php';
|
|||||||
* Displays the frame
|
* Displays the frame
|
||||||
*/
|
*/
|
||||||
$per_page = 200;
|
$per_page = 200;
|
||||||
require_once './libraries/relation.lib.php'; // foreign keys
|
|
||||||
require_once './libraries/transformations.lib.php'; // Transformations
|
require_once './libraries/transformations.lib.php'; // Transformations
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
$foreigners = ($cfgRelation['relwork'] ? PMA_getForeigners($db, $table) : FALSE);
|
$foreigners = ($cfgRelation['relwork'] ? PMA_getForeigners($db, $table) : FALSE);
|
||||||
|
@@ -10,7 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
require_once './libraries/header.inc.php';
|
require_once './libraries/header.inc.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -18,10 +18,10 @@ if (!isset($selected_tbl)) {
|
|||||||
/**
|
/**
|
||||||
* Gets the relations settings
|
* Gets the relations settings
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check parameters
|
* Check parameters
|
||||||
|
@@ -262,7 +262,6 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
|
|||||||
* Settings for relations stuff
|
* Settings for relations stuff
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -26,7 +26,6 @@ $err_url = 'db_sql.php?' . PMA_generate_common_url($db);
|
|||||||
/**
|
/**
|
||||||
* Settings for relations stuff
|
* Settings for relations stuff
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
require_once './libraries/Table.class.php';
|
require_once './libraries/Table.class.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -17,9 +17,6 @@ $url_query .= '&goto=tbl_tracking.php&back=db_tracking.php';
|
|||||||
$sub_part = '_structure';
|
$sub_part = '_structure';
|
||||||
require './libraries/db_info.inc.php';
|
require './libraries/db_info.inc.php';
|
||||||
|
|
||||||
// Get relation settings
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
// Work to do?
|
// Work to do?
|
||||||
// (here, do not use $_REQUEST['db] as it can be crafted)
|
// (here, do not use $_REQUEST['db] as it can be crafted)
|
||||||
if (isset($_REQUEST['delete_tracking']) && isset($_REQUEST['table'])) {
|
if (isset($_REQUEST['delete_tracking']) && isset($_REQUEST['table'])) {
|
||||||
|
@@ -383,7 +383,6 @@ $do_relation = isset($GLOBALS[$what . '_relation']);
|
|||||||
$do_comments = isset($GLOBALS[$what . '_comments']);
|
$do_comments = isset($GLOBALS[$what . '_comments']);
|
||||||
$do_mime = isset($GLOBALS[$what . '_mime']);
|
$do_mime = isset($GLOBALS[$what . '_mime']);
|
||||||
if ($do_relation || $do_comments || $do_mime) {
|
if ($do_relation || $do_comments || $do_mime) {
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
}
|
}
|
||||||
if ($do_mime) {
|
if ($do_mime) {
|
||||||
|
@@ -32,11 +32,6 @@
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
|
|
||||||
/**
|
|
||||||
* Includes the ThemeManager if it hasn't been included yet
|
|
||||||
*/
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
// free the session file, for the other frames to be loaded
|
// free the session file, for the other frames to be loaded
|
||||||
session_write_close();
|
session_write_close();
|
||||||
|
|
||||||
|
@@ -781,7 +781,6 @@ class PMA_Table
|
|||||||
$GLOBALS['sql_query'] .= "\n\n" . $sql_insert_data . ';';
|
$GLOBALS['sql_query'] .= "\n\n" . $sql_insert_data . ';';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$GLOBALS['cfgRelation'] = PMA_getRelationsParam();
|
$GLOBALS['cfgRelation'] = PMA_getRelationsParam();
|
||||||
|
|
||||||
// Drops old table if the user has requested to move it
|
// Drops old table if the user has requested to move it
|
||||||
@@ -1057,7 +1056,6 @@ class PMA_Table
|
|||||||
* @todo move into extra function PMA_Relation::renameTable($new_name, $old_name, $new_db, $old_db)
|
* @todo move into extra function PMA_Relation::renameTable($new_name, $old_name, $new_db, $old_db)
|
||||||
*/
|
*/
|
||||||
// Move old entries from comments to new table
|
// Move old entries from comments to new table
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$GLOBALS['cfgRelation'] = PMA_getRelationsParam();
|
$GLOBALS['cfgRelation'] = PMA_getRelationsParam();
|
||||||
if ($GLOBALS['cfgRelation']['commwork']) {
|
if ($GLOBALS['cfgRelation']['commwork']) {
|
||||||
$remove_query = '
|
$remove_query = '
|
||||||
|
@@ -5,11 +5,6 @@
|
|||||||
* @package phpMyAdmin
|
* @package phpMyAdmin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets relation settings
|
|
||||||
*/
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class tracks changes on databases, tables and views.
|
* This class tracks changes on databases, tables and views.
|
||||||
* For more information please see phpMyAdmin/Documentation.html
|
* For more information please see phpMyAdmin/Documentation.html
|
||||||
|
@@ -6,11 +6,6 @@
|
|||||||
* @package phpMyAdmin
|
* @package phpMyAdmin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the bookmark parameters for the current user
|
* Defines the bookmark parameters for the current user
|
||||||
*
|
*
|
||||||
|
@@ -13,7 +13,6 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
/**
|
/**
|
||||||
* Gets the relation settings
|
* Gets the relation settings
|
||||||
*/
|
*/
|
||||||
|
@@ -14,7 +14,6 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
require_once './libraries/Table.class.php';
|
require_once './libraries/Table.class.php';
|
||||||
|
|
||||||
// Get relations & co. status
|
// Get relations & co. status
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
|
|
||||||
|
@@ -49,8 +49,6 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
/**
|
/**
|
||||||
* for PMA_setHistory()
|
* for PMA_setHistory()
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
if (! PMA_isValid($_REQUEST['no_history']) && empty($GLOBALS['error_message'])
|
if (! PMA_isValid($_REQUEST['no_history']) && empty($GLOBALS['error_message'])
|
||||||
&& ! empty($GLOBALS['sql_query'])) {
|
&& ! empty($GLOBALS['sql_query'])) {
|
||||||
PMA_setHistory(PMA_ifSetOr($GLOBALS['db'], ''),
|
PMA_setHistory(PMA_ifSetOr($GLOBALS['db'], ''),
|
||||||
|
@@ -143,7 +143,6 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
/**
|
/**
|
||||||
* Settings for relations stuff
|
* Settings for relations stuff
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
// Get additional information about tables for tooltip is done
|
// Get additional information about tables for tooltip is done
|
||||||
|
@@ -12,7 +12,6 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
/**
|
/**
|
||||||
* Load relations.
|
* Load relations.
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -9,11 +9,6 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cleanu column related relation stuff
|
* Cleanu column related relation stuff
|
||||||
*
|
*
|
||||||
|
@@ -117,7 +117,6 @@ if (!$is_backup) {
|
|||||||
|
|
||||||
$header_cells[] = '<abbr title="AUTO_INCREMENT">' . ($display_type == 'horizontal' ? 'A_I' : 'AUTO_INCREMENT') . '</abbr>';
|
$header_cells[] = '<abbr title="AUTO_INCREMENT">' . ($display_type == 'horizontal' ? 'A_I' : 'AUTO_INCREMENT') . '</abbr>';
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
|
1
main.php
1
main.php
@@ -309,7 +309,6 @@ if (file_exists('./config')) {
|
|||||||
* Check whether relations are supported.
|
* Check whether relations are supported.
|
||||||
*/
|
*/
|
||||||
if ($server > 0) {
|
if ($server > 0) {
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
if(!$cfgRelation['allworks'] && $cfg['PmaNoRelation_DisableWarning'] == false) {
|
if(!$cfgRelation['allworks'] && $cfg['PmaNoRelation_DisableWarning'] == false) {
|
||||||
$message = PMA_Message::notice(__('The additional features for working with linked tables have been deactivated. To find out why click %shere%s.'));
|
$message = PMA_Message::notice(__('The additional features for working with linked tables have been deactivated. To find out why click %shere%s.'));
|
||||||
|
@@ -110,9 +110,8 @@ if ($GLOBALS['server'] && ! strlen($GLOBALS['db'])) {
|
|||||||
$db_start = $GLOBALS['db'];
|
$db_start = $GLOBALS['db'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the relation library
|
* the relation settings
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -20,7 +20,6 @@ require_once './libraries/db_info.inc.php';
|
|||||||
/**
|
/**
|
||||||
* Settings for relation stuff
|
* Settings for relation stuff
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
// This is to avoid "Command out of sync" errors. Before switching this to
|
// This is to avoid "Command out of sync" errors. Before switching this to
|
||||||
|
@@ -13,7 +13,6 @@ require_once './libraries/common.inc.php';
|
|||||||
/**
|
/**
|
||||||
* Settings for relation stuff
|
* Settings for relation stuff
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
require_once './libraries/Index.class.php';
|
require_once './libraries/Index.class.php';
|
||||||
|
|
||||||
|
@@ -13,7 +13,6 @@ require_once './libraries/header_http.inc.php';
|
|||||||
|
|
||||||
$GLOBALS['PMD']['STYLE'] = 'default';
|
$GLOBALS['PMD']['STYLE'] = 'default';
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
$GLOBALS['script_display_field'] =
|
$GLOBALS['script_display_field'] =
|
||||||
|
@@ -8,7 +8,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
include_once 'pmd_common.php';
|
include_once 'pmd_common.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
|
|
||||||
$table = $T;
|
$table = $T;
|
||||||
|
@@ -15,8 +15,6 @@ if (! isset($scale)) {
|
|||||||
include_once 'pmd_save_pos.php';
|
include_once 'pmd_save_pos.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
if (isset($scale) && ! isset($createpage)) {
|
if (isset($scale) && ! isset($createpage)) {
|
||||||
if (empty($pdf_page_number)) {
|
if (empty($pdf_page_number)) {
|
||||||
die("<script>alert('Pages not found!');history.go(-2);</script>");
|
die("<script>alert('Pages not found!');history.go(-2);</script>");
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
include_once 'pmd_common.php';
|
include_once 'pmd_common.php';
|
||||||
$die_save_pos = 0;
|
$die_save_pos = 0;
|
||||||
include_once 'pmd_save_pos.php';
|
include_once 'pmd_save_pos.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
extract($_POST, EXTR_SKIP);
|
extract($_POST, EXTR_SKIP);
|
||||||
|
|
||||||
$tables = PMA_DBI_get_tables_full($db, $T1);
|
$tables = PMA_DBI_get_tables_full($db, $T1);
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
include_once 'pmd_common.php';
|
include_once 'pmd_common.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
extract($_POST, EXTR_SKIP);
|
extract($_POST, EXTR_SKIP);
|
||||||
extract($_GET, EXTR_SKIP);
|
extract($_GET, EXTR_SKIP);
|
||||||
$die_save_pos = 0;
|
$die_save_pos = 0;
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
include_once 'pmd_common.php';
|
include_once 'pmd_common.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
|
@@ -50,9 +50,8 @@ require_once './libraries/ob.lib.php';
|
|||||||
PMA_outBufferPre();
|
PMA_outBufferPre();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* load relations
|
* load relation params
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
1
sql.php
1
sql.php
@@ -585,7 +585,6 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (strlen($db)) {
|
if (strlen($db)) {
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -164,7 +164,6 @@ if (isset($_REQUEST['do_save_data'])) {
|
|||||||
|
|
||||||
if ($result === true) {
|
if ($result === true) {
|
||||||
// If comments were sent, enable relation stuff
|
// If comments were sent, enable relation stuff
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
|
|
||||||
// Update comment table for mime types [MIME]
|
// Update comment table for mime types [MIME]
|
||||||
|
@@ -105,7 +105,6 @@ if (isset($_REQUEST['do_save_data'])) {
|
|||||||
/**
|
/**
|
||||||
* If comments were sent, enable relation stuff
|
* If comments were sent, enable relation stuff
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
|
|
||||||
// updaet field names in relation
|
// updaet field names in relation
|
||||||
|
@@ -44,11 +44,6 @@ if (isset($_REQUEST['ShowFieldTypesInDataEditView'])) {
|
|||||||
$cfg['ShowFieldTypesInDataEditView'] = $_REQUEST['ShowFieldTypesInDataEditView'];
|
$cfg['ShowFieldTypesInDataEditView'] = $_REQUEST['ShowFieldTypesInDataEditView'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* load relation data, foreign keys
|
|
||||||
*/
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* file listing
|
* file listing
|
||||||
*/
|
*/
|
||||||
|
@@ -223,7 +223,6 @@ if (isset($_REQUEST['do_save_data'])) {
|
|||||||
if ($result) {
|
if ($result) {
|
||||||
|
|
||||||
// If comments were sent, enable relation stuff
|
// If comments were sent, enable relation stuff
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
|
|
||||||
// Update comment table for mime types [MIME]
|
// Update comment table for mime types [MIME]
|
||||||
|
@@ -23,7 +23,6 @@ $url_params['goto'] = $url_params['back'] = 'tbl_operations.php';
|
|||||||
/**
|
/**
|
||||||
* Gets relation settings
|
* Gets relation settings
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -29,7 +29,6 @@ if (! isset($the_tables) || ! is_array($the_tables)) {
|
|||||||
/**
|
/**
|
||||||
* Gets the relations settings
|
* Gets the relations settings
|
||||||
*/
|
*/
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
require_once './libraries/Index.class.php';
|
require_once './libraries/Index.class.php';
|
||||||
|
|
||||||
|
@@ -38,8 +38,6 @@ $avoid_show_comment = TRUE;
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/tbl_links.inc.php';
|
require_once './libraries/tbl_links.inc.php';
|
||||||
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
$options_array = array(
|
$options_array = array(
|
||||||
'CASCADE' => 'CASCADE',
|
'CASCADE' => 'CASCADE',
|
||||||
'SET_NULL' => 'SET NULL',
|
'SET_NULL' => 'SET NULL',
|
||||||
|
@@ -14,7 +14,6 @@
|
|||||||
* Gets some core libraries
|
* Gets some core libraries
|
||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
require_once './libraries/relation.lib.php'; // foreign keys
|
|
||||||
require_once './libraries/mysql_charsets.lib.php';
|
require_once './libraries/mysql_charsets.lib.php';
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'tbl_change.js';
|
$GLOBALS['js_include'][] = 'tbl_change.js';
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
require_once './libraries/mysql_charsets.lib.php';
|
require_once './libraries/mysql_charsets.lib.php';
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js';
|
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js';
|
||||||
|
|
||||||
@@ -199,7 +198,6 @@ $comments_map = array();
|
|||||||
$mime_map = array();
|
$mime_map = array();
|
||||||
|
|
||||||
if ($GLOBALS['cfg']['ShowPropertyComments']) {
|
if ($GLOBALS['cfg']['ShowPropertyComments']) {
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
require_once './libraries/transformations.lib.php';
|
require_once './libraries/transformations.lib.php';
|
||||||
|
|
||||||
//$cfgRelation = PMA_getRelationsParam();
|
//$cfgRelation = PMA_getRelationsParam();
|
||||||
|
@@ -15,9 +15,6 @@ $url_query .= '&goto=tbl_tracking.php&back=tbl_tracking.php';
|
|||||||
$url_params['goto'] = 'tbl_tracking.php';;
|
$url_params['goto'] = 'tbl_tracking.php';;
|
||||||
$url_params['back'] = 'tbl_tracking.php';
|
$url_params['back'] = 'tbl_tracking.php';
|
||||||
|
|
||||||
// Get relation settings
|
|
||||||
require_once './libraries/relation.lib.php';
|
|
||||||
|
|
||||||
// Init vars for tracking report
|
// Init vars for tracking report
|
||||||
if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) {
|
if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) {
|
||||||
$data = PMA_Tracker::getTrackedData($_REQUEST['db'], $_REQUEST['table'], $_REQUEST['version']);
|
$data = PMA_Tracker::getTrackedData($_REQUEST['db'], $_REQUEST['table'], $_REQUEST['version']);
|
||||||
|
@@ -14,7 +14,6 @@ define('IS_TRANSFORMATION_WRAPPER', true);
|
|||||||
* Gets a core script and starts output buffering work
|
* Gets a core script and starts output buffering work
|
||||||
*/
|
*/
|
||||||
require_once './libraries/common.inc.php';
|
require_once './libraries/common.inc.php';
|
||||||
require_once './libraries/relation.lib.php'; // foreign keys
|
|
||||||
require_once './libraries/transformations.lib.php'; // Transformations
|
require_once './libraries/transformations.lib.php'; // Transformations
|
||||||
$cfgRelation = PMA_getRelationsParam();
|
$cfgRelation = PMA_getRelationsParam();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user