This commit is contained in:
Alexandros Ioannides 2017-12-28 18:08:55 +02:00 committed by GitHub
commit 27d01ba171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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