Merge pull request #1395 from ioannidesalex/patch-13

Fix
This commit is contained in:
Serghey Rodin 2017-12-29 00:26:49 +02:00 committed by GitHub
commit c3872c26ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@
* (also on the filesystem level).
*/
if (!function_exists('check_file_access')) {
function check_file_access($path)
{
if (is_readable($path)) {
@ -29,6 +30,7 @@ function check_file_access($path)
return false;
}
}
}
// Load secret generated on postinst
if (check_file_access('/var/lib/phpmyadmin/blowfish_secret.inc.php')) {