diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-05-24 00:25:48 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-06-11 17:06:02 +0400 |
commit | 4a740376c89755698ae5fac3746eb57ba07142ae (patch) | |
tree | b33aa2a42117a87d24f145080d3f9a8887a0e21e /tbl_sql.php | |
parent | 97449dae42a11cfa7f4571aaadeab3fefc30acf7 (diff) |
Dropped header.inc.php in favor of the PMA_Header class
Diffstat (limited to 'tbl_sql.php')
-rw-r--r-- | tbl_sql.php | 6 |
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 .= '&goto=tbl_sql.php&back=tbl_sql.php'; |