diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-06-01 19:12:00 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-06-11 17:06:03 +0400 |
commit | a05456210029c8ba09db1eb765bcb116c449c746 (patch) | |
tree | eb9beb55a6569298b9309b38a50823094e15ce78 /db_routines.php | |
parent | c2ae2ae265cade8b671acbd70073bbc22b61ee17 (diff) |
PMA_Footer and PMA_Header no longer need to be singletons
Diffstat (limited to 'db_routines.php')
-rw-r--r-- | db_routines.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db_routines.php b/db_routines.php index b9d9cdc1b1..9a54a5815c 100644 --- a/db_routines.php +++ b/db_routines.php @@ -16,7 +16,9 @@ require_once 'libraries/mysql_charsets.lib.php'; /** * Include JavaScript libraries */ -$scripts = PMA_Header::getInstance()->getScripts(); +$response = PMA_Response::getInstance(); +$header = $response->getHeader(); +$scripts = $header->getScripts(); $scripts->addFile('jquery/timepicker.js'); $scripts->addFile('rte/common.js'); $scripts->addFile('rte/routines.js'); |