Commit Graph

26 Commits

Author SHA1 Message Date
Michal Čihař
c842a0de92 Use correct headers for json data
It was previously not marked as such what could potentially lead to
browsers doing some autodetection.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-25 12:33:56 +01:00
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Rouslan Placella
b2cbb2d779 Fixed export of server status monitor settings 2012-12-04 16:30:20 +00:00
Madhura Jayaratne
6f9253b59e Various coding style improvements 2012-06-03 20:40:47 +05:30
Michal Čihař
54dc10a012 Use PMA_fatalError instead of die 2012-05-09 11:58:10 +02:00
Michal Čihař
317b365baa Various coding style improvements 2012-04-24 14:06:15 +02:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Dieter Adriaenssens
5c751cd1c0 make die() messages translatable, where possible 2011-08-25 22:38:51 +02:00
Michal Čihař
ec589b6acd Whitespace cleanup 2011-08-05 13:56:18 +02:00
Tyron Madlener
9f425de0e7 changed mime to text/plain since application/json doesn't work in ff 2011-08-05 13:30:10 +03:00
Tyron Madlener
d368a81cca Chart import config now returned as application/json to prevent possible XSS attacks 2011-08-05 11:35:09 +03:00
Michal Čihař
c8a147c4ee Fix typo 2011-08-04 19:44:36 +02:00
Michal Čihař
9a938ed986 Fix comments 2011-08-04 19:44:22 +02:00
Michal Čihař
c3f8dd9250 Coding style 2011-08-04 15:25:26 +02:00
Michal Čihař
bffad98915 Separate data decoding from output 2011-08-04 15:19:29 +02:00
Michal Čihař
6c92b02f81 Avoid using $_REQUEST all over the code 2011-08-04 15:08:38 +02:00
Michal Čihař
4acaf76312 Documentation 2011-08-04 14:58:22 +02:00
Michal Čihař
f97b5aba9b Better check for valid filename 2011-08-04 14:57:16 +02:00
Michal Čihař
440f72082f Coding style, simplify flow, remove exit() calls 2011-08-04 14:47:11 +02:00
Michal Čihař
350157c552 Use generic function for download headers 2011-08-04 14:17:18 +02:00
Michal Čihař
17689a2df4 Coding style 2011-08-04 14:12:09 +02:00
Michal Čihař
b9a7ac7425 Avoid skiping authentication and token check 2011-08-04 14:06:27 +02:00
Tyron Madlener
0017203945 Chart Grid importing and exporting feature. 2011-07-28 19:59:17 +03:00