Maurício Meneghini Fauth
1e542cd621
Replace vendor_config.php constants with an array
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 16:48:56 -03:00
Maurício Meneghini Fauth
0fbed5e6bd
Merge branch 'QA_5_1'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-11-01 20:04:15 -03:00
Maurício Meneghini Fauth
3e0856c77b
Remove useless string concatenations
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-27 21:40:22 -03:00
William Desportes
f1c4ebf06a
Remove old special case for MS IE from 9 years ago
...
Ref: ea65b806ab
Even at the time where the author wrote the commit why it was needed was not known.
Removing this old legacy if.
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-07-21 01:27:07 +02:00
Maurício Meneghini Fauth
d83abf63e7
Use PSR-12 for control structures spacing
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-03-05 15:27:03 -03:00
William Desportes
bcf21c4081
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-28 18:12:30 +02:00
William Desportes
0e344b6a50
Fix #16256 - Warning: error_reporting() has been disabled for security reasons on php 7.x
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-07-25 19:49:52 +02:00
Maurício Meneghini Fauth
3baad2eb1c
Fix some coding standard issues
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-25 22:42:37 -03:00
Maurício Meneghini Fauth
f80d3e3bd4
Remove unnecessary annotations
...
@package, @subpackage and others.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 17:35:56 -03:00
Maurício Meneghini Fauth
8ec4209002
Fix some coding standard issues
...
- Inverts yoda comparisons
- Removes parentheses from return
- Removes useless ternary operators
- Adds paretheses to new instances
- Adds trailing array comma
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 00:38:34 -03:00
Maurício Meneghini Fauth
63dbcd01d9
Remove or ignore side effects in PHP files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-19 20:22:37 -03:00
William Desportes
4534c4b519
Merge branch 'QA_5_0'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-11-24 17:44:27 +01:00
William Desportes
3ebcf62e78
Merge branch 'QA_4_9' into QA_5_0
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-11-24 17:43:06 +01:00
William Desportes
5f5dc024a1
Fix #15592 - Warning: error_reporting() has been disabled for security reasons
...
Fixes : #15592
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-11-24 15:54:02 +01:00
Maurício Meneghini Fauth
1a14b3e4d3
Remove vim modelines
...
These settings are no longer required as they are guaranteed through
other coding standard tools.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00
Maurício Meneghini Fauth
0ae18f87c5
Add missing define in show_config_errors.php
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 11:27:50 -03:00
Hugues Peccatte
c233a4364a
Use right PHP function
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-07-16 23:21:25 -03:00
Maurício Meneghini Fauth
38e5b12c1c
Define an absolute path to use for require statements
...
Fixes #6167
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-22 14:37:31 -02:00
Maurício Meneghini Fauth
285e38e931
Fix some PSR-2 coding standard errors
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 09:07:56 -03:00
Maurício Meneghini Fauth
af148ad92b
Enable strict mode in PHP files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 04:36:04 -03:00
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