Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2011-06-04 23:20:59 +0400
committerRouslan Placella <rouslan@placella.com>2011-06-04 23:20:59 +0400
commit2434f0628c6673e45b7579c1c10e1c9cd3d16ecc (patch)
tree2ce96b059dc1b3fcf7150cbe3be77adb7304be2b /db_routines.php
parentd5358316998ff5bc0ecea9c8362fe62ed24a91ce (diff)
AJAX integration for Routines editor.
Diffstat (limited to 'db_routines.php')
-rw-r--r--db_routines.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/db_routines.php b/db_routines.php
index 5e3102c274..5ef688e3d3 100644
--- a/db_routines.php
+++ b/db_routines.php
@@ -24,6 +24,13 @@ if ($GLOBALS['is_ajax_request'] != true) {
* Displays the tabs
*/
require_once './libraries/db_info.inc.php';
+} else {
+ if (strlen($db)) {
+ PMA_DBI_select_db($db);
+ if (! isset($url_query)) {
+ $url_query = PMA_generate_common_url($db);
+ }
+ }
}
/**