Commit Graph

24 Commits

Author SHA1 Message Date
Michal Čihař
c44f5ab080 Always use UTC time in HTTP headers
Using timezones in this context can cause problem when DST changes
apply.

Also this can be information leak of server timezone.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-18 17:07:00 +02: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
Michal Čihař
98a1b4c82b Wrap long lines, move comments, remove unused code 2012-06-04 14:35:17 +02:00
Madhura Jayaratne
4b8d52d937 Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line) 2012-04-22 21:28:41 +05:30
Jo Michael
ea65b806ab Fix show_config_errors.php 2012-04-08 21:08:47 +02:00
Dieter Adriaenssens
d844827af8 use include with conditional includes 2012-04-06 16:06:20 +02:00
Marc Delisle
ed5fd8c852 Merge branch 'QA_3_5' 2012-03-28 12:44:32 -04:00
Marc Delisle
6bbeed3e7e Merge branch 'QA_3_4' into MAINT_3_5_0 2012-03-28 12:42:36 -04:00
Marc Delisle
c51817d3b8 [security] Fixed local path disclosure vulnerability, see PMASA-2012-2 2012-03-28 12:39:39 -04: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
Michal Čihař
6196970dc2 Use new function for no cache headers 2011-08-04 14:36:01 +02:00
Michal Čihař
e92125b7ab Prevent caching of showing errors of config file 2011-06-22 09:31:25 +02:00
Michal Čihař
ee0b2fee37 Better error message when config file can not be parsed
- shorter text
- directly show errors in iframe instead saying user to load other page
2011-06-22 09:29:14 +02:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30
Michal Čihař
318dc4b650 Drop @version tag from docblocks. 2010-07-20 13:59:17 +02:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Michal Čihař
7b754395e9 Provide way for vendors to easily change paths to config files. 2010-03-31 12:29:21 +02:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +00:00
Sebastian Mendel
adb39168cc coding standard: no braces around include 2007-04-01 09:51:41 +00:00
Sebastian Mendel
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Sebastian Mendel
817e790762 synced/fixed vim line 2007-03-19 17:55:39 +00:00
Michal Čihař
7b48016c66 Add wrapper to show config errors even with no error reporting (RFE #1447173). 2006-03-16 22:15:07 +00:00