forked from leftypol/leftypol
docker: handle secrets.php
This commit is contained in:
parent
745bd5fc5d
commit
ffaad8dbb8
2 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
// Installation/upgrade file
|
||||
define('VERSION', '5.1.3');
|
||||
|
||||
if (fopen('inc/instance-config.php' , 'a') === false) {
|
||||
if (!is_writable('inc/instance-config.php') || !is_writable('inc/')) {
|
||||
print('install.php does not have permission to write to /inc/, without permission the installer cannot continue');
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue