File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020require_once './libraries/OutputBuffering.class.php ' ;
2121$ buffer = PMA_OutputBuffering::getInstance ();
2222$ buffer ->start ();
23- register_shutdown_function (function () {
24- echo PMA_OutputBuffering::getInstance ()->getContents ();
25- });
23+ register_shutdown_function (
24+ function () {
25+ echo PMA_OutputBuffering::getInstance ()->getContents ();
26+ }
27+ );
2628
2729// Get the data for the sprites, if it's available
2830if (is_readable ($ _SESSION ['PMA_Theme ' ]->getPath () . '/sprites.lib.php ' )) {
Original file line number Diff line number Diff line change 2929include_once './libraries/OutputBuffering.class.php ' ;
3030$ buffer = PMA_OutputBuffering::getInstance ();
3131$ buffer ->start ();
32- register_shutdown_function (function () {
33- echo PMA_OutputBuffering::getInstance ()->getContents ();
34- });
32+ register_shutdown_function (
33+ function () {
34+ echo PMA_OutputBuffering::getInstance ()->getContents ();
35+ }
36+ );
3537
3638$ _GET ['scripts ' ] = json_decode ($ _GET ['scripts ' ]);
3739if (! empty ($ _GET ['scripts ' ]) && is_array ($ _GET ['scripts ' ])) {
Original file line number Diff line number Diff line change 2929require_once './libraries/OutputBuffering.class.php ' ;
3030$ buffer = PMA_OutputBuffering::getInstance ();
3131$ buffer ->start ();
32- register_shutdown_function (function () {
33- echo PMA_OutputBuffering::getInstance ()->getContents ();
34- });
32+ register_shutdown_function (
33+ function () {
34+ echo PMA_OutputBuffering::getInstance ()->getContents ();
35+ }
36+ );
3537
3638$ js_messages ['strNoDropDatabases ' ] = __ ('"DROP DATABASE" statements are disabled. ' );
3739if ($ cfg ['AllowUserDropDatabase ' ]) {
Original file line number Diff line number Diff line change 2525require_once './libraries/OutputBuffering.class.php ' ;
2626$ buffer = PMA_OutputBuffering::getInstance ();
2727$ buffer ->start ();
28- register_shutdown_function (function () {
29- echo PMA_OutputBuffering::getInstance ()->getContents ();
30- });
28+ register_shutdown_function (
29+ function () {
30+ echo PMA_OutputBuffering::getInstance ()->getContents ();
31+ }
32+ );
3133
3234echo "var PMA_gotoWhitelist = new Array(); \n" ;
3335$ i = -1 ;
Original file line number Diff line number Diff line change @@ -307,8 +307,10 @@ public function getDisplay()
307307 . '<label><input type="checkbox" name="current_query"> '
308308 . __ ('Show current browsing query ' ) . '</label><br> '
309309 . '<label><input type="checkbox" name="enter_executes"> '
310- . __ ('Execute queries on Enter and insert new line with Shift + Enter. '
311- . 'To make this permanent, view settings. ' ) . '</label><br> '
310+ . __ (
311+ 'Execute queries on Enter and insert new line with Shift + Enter. '
312+ . 'To make this permanent, view settings. '
313+ ) . '</label><br> '
312314 . '<label><input type="checkbox" name="dark_theme"> '
313315 . __ ('Switch to dark theme ' ) . '</label><br> '
314316 . '</div> ' ;
Original file line number Diff line number Diff line change @@ -404,8 +404,10 @@ public function getDisplay()
404404 $ this ->_scripts ->addFile ('codemirror/addon/hint/show-hint.js ' );
405405 $ this ->_scripts ->addFile ('codemirror/addon/hint/sql-hint.js ' );
406406 }
407- $ this ->_scripts ->addCode ('ConsoleEnterExecutes= '
408- . ($ GLOBALS ['cfg ' ]['ConsoleEnterExecutes ' ] ? 'true ' : 'false ' ));
407+ $ this ->_scripts ->addCode (
408+ 'ConsoleEnterExecutes= '
409+ . ($ GLOBALS ['cfg ' ]['ConsoleEnterExecutes ' ] ? 'true ' : 'false ' )
410+ );
409411 $ this ->_scripts ->addFiles ($ this ->_console ->getScripts ());
410412 if ($ this ->_userprefsOfferImport ) {
411413 $ this ->_scripts ->addFile ('config.js ' );
Original file line number Diff line number Diff line change 2323 include_once 'libraries/OutputBuffering.class.php ' ;
2424 $ buffer = PMA_OutputBuffering::getInstance ();
2525 $ buffer ->start ();
26- register_shutdown_function (function () {
27- echo PMA_OutputBuffering::getInstance ()->getContents ();
28- });
26+ register_shutdown_function (
27+ function () {
28+ echo PMA_OutputBuffering::getInstance ()->getContents ();
29+ }
30+ );
2931}
3032
3133// Send correct type:
You can’t perform that action at this time.
0 commit comments