Skip to content

Commit c3872c2

Browse files
Merge pull request hestiacp#1395 from ioannidesalex/patch-13
Fix
2 parents dcf0ae9 + 27d01ba commit c3872c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install/ubuntu/16.04/pma/config.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* (also on the filesystem level).
1818
*/
1919

20+
if (!function_exists('check_file_access')) {
2021
function check_file_access($path)
2122
{
2223
if (is_readable($path)) {
@@ -29,6 +30,7 @@ function check_file_access($path)
2930
return false;
3031
}
3132
}
33+
}
3234

3335
// Load secret generated on postinst
3436
if (check_file_access('/var/lib/phpmyadmin/blowfish_secret.inc.php')) {

0 commit comments

Comments
 (0)