mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
commit
c3872c26ee
1 changed files with 2 additions and 0 deletions
|
@ -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')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue