forked from phpmyadmin/phpmyadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[security] Fixed local path disclosure vulnerability, see PMASA-2012-2
- Loading branch information
Marc Delisle
committed
Mar 28, 2012
1 parent
5ac9f50
commit c51817d
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
/** | ||
* Read config file. | ||
*/ | ||
require CONFIG_FILE; | ||
if (is_readable(CONFIG_FILE)) { | ||
require CONFIG_FILE; | ||
} | ||
|
||
?> |