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>2012-05-24 00:25:48 +0400
committerRouslan Placella <rouslan@placella.com>2012-06-11 17:06:02 +0400
commit4a740376c89755698ae5fac3746eb57ba07142ae (patch)
treeb33aa2a42117a87d24f145080d3f9a8887a0e21e /tbl_sql.php
parent97449dae42a11cfa7f4571aaadeab3fefc30acf7 (diff)
Dropped header.inc.php in favor of the PMA_Header class
Diffstat (limited to 'tbl_sql.php')
-rw-r--r--tbl_sql.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl_sql.php b/tbl_sql.php
index 3420a051af..e2841a4cbb 100644
--- a/tbl_sql.php
+++ b/tbl_sql.php
@@ -13,9 +13,9 @@ require_once 'libraries/common.inc.php';
/**
* Runs common work
*/
-$GLOBALS['js_include'][] = 'functions.js';
-$GLOBALS['js_include'][] = 'makegrid.js';
-$GLOBALS['js_include'][] = 'sql.js';
+$scripts = PMA_Header::getInstance()->getScripts();
+$scripts->addFile('makegrid.js');
+$scripts->addFile('sql.js');
require 'libraries/tbl_common.inc.php';
$url_query .= '&amp;goto=tbl_sql.php&amp;back=tbl_sql.php';