Move server_{links,common}.inc.php to libraries folder as it does not require direct access.
This commit is contained in:
@@ -14,6 +14,9 @@ $Source$
|
||||
tbl_row_action.php, libraries/mult_submits.inc.php: Move
|
||||
mult_submits.inc.php to libraries folder as it does not require direct
|
||||
access.
|
||||
* server_*, sql.php, libraries/server_common.inc.php,
|
||||
libraries/server_links.inc.php: Move server_{links,common}.inc.php to
|
||||
libraries folder as it does not require direct access.
|
||||
|
||||
2005-11-24 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* themes/original/*, css/phpmyadmin.css.php:
|
||||
|
@@ -5,7 +5,7 @@
|
||||
// Check parameters
|
||||
|
||||
require_once('./libraries/common.lib.php');
|
||||
require_once('./server_common.inc.php');
|
||||
require_once('./libraries/server_common.inc.php');
|
||||
|
||||
PMA_checkParameters(array('is_superuser', 'url_query'), TRUE, FALSE);
|
||||
|
@@ -7,13 +7,13 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require_once('./server_common.inc.php');
|
||||
require_once('./libraries/server_common.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -7,13 +7,13 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require('./server_common.inc.php');
|
||||
require('./libraries/server_common.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -9,7 +9,7 @@ require_once('./libraries/common.lib.php');
|
||||
|
||||
|
||||
$js_to_run = 'functions.js';
|
||||
require('./server_common.inc.php');
|
||||
require('./libraries/server_common.inc.php');
|
||||
|
||||
/**
|
||||
* Sorts the databases array according to the user's choice
|
||||
@@ -85,7 +85,7 @@ if ((!empty($drop_selected_dbs) || isset($query_type)) && ($is_superuser || $cfg
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -7,14 +7,14 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require('./server_common.inc.php');
|
||||
require('./libraries/server_common.inc.php');
|
||||
require('./libraries/storage_engines.lib.php');
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -12,7 +12,7 @@ $js_to_run = 'functions.js';
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
/**
|
||||
* Gets the databases list - if it has not been built yet
|
||||
|
@@ -7,13 +7,13 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require('./server_common.inc.php');
|
||||
require('./libraries/server_common.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
$import_type = 'server';
|
||||
require('./libraries/display_import.lib.php');
|
||||
|
@@ -8,7 +8,7 @@ require_once('./libraries/common.lib.php');
|
||||
* Does the common work
|
||||
*/
|
||||
$js_to_run = 'server_privileges.js';
|
||||
require('./server_common.inc.php');
|
||||
require('./libraries/server_common.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ if ( isset( $dbname ) ) {
|
||||
* Checks if the user is allowed to do what he tries to...
|
||||
*/
|
||||
if (!$is_superuser) {
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
echo '<h2>' . "\n"
|
||||
. ($GLOBALS['cfg']['MainPageIconic'] ? '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 'b_usrlist.png" alt="" />' : '')
|
||||
. $GLOBALS['strPrivileges'] . "\n"
|
||||
@@ -1203,7 +1203,7 @@ if (isset($viewing_mode) && $viewing_mode == 'db') {
|
||||
require('./db_details_db_info.php');
|
||||
echo "\n";
|
||||
} else {
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
}
|
||||
|
||||
|
||||
|
@@ -7,7 +7,7 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require_once('./server_common.inc.php');
|
||||
require_once('./libraries/server_common.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
@@ -25,7 +25,7 @@ if (!empty($kill)) {
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -8,14 +8,14 @@ require_once('./libraries/common.lib.php');
|
||||
* Does the common work
|
||||
*/
|
||||
$js_to_run = 'functions.js';
|
||||
require_once './server_common.inc.php';
|
||||
require_once './libraries/server_common.inc.php';
|
||||
require_once './libraries/sql_query_form.lib.php';
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require './server_links.inc.php';
|
||||
require './libraries/server_links.inc.php';
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -11,13 +11,13 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require './server_common.inc.php';
|
||||
require './libraries/server_common.inc.php';
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require './server_links.inc.php';
|
||||
require './libraries/server_links.inc.php';
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -7,13 +7,13 @@ require_once('./libraries/common.lib.php');
|
||||
/**
|
||||
* Does the common work
|
||||
*/
|
||||
require('./server_common.inc.php');
|
||||
require('./libraries/server_common.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
* Displays the links
|
||||
*/
|
||||
require('./server_links.inc.php');
|
||||
require('./libraries/server_links.inc.php');
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user