forked from wallabag/wallabag
vendor dir is not accessible before install, sqlite db dir write check moved into db class
This commit is contained in:
5
check_setup.php
Normal file → Executable file
5
check_setup.php
Normal file → Executable file
@ -5,11 +5,6 @@ if (! is_writable('cache')) {
|
||||
die('The directory "cache" must be writeable by your web server user');
|
||||
}
|
||||
|
||||
// Check if /db is writeable
|
||||
if (! is_writable('db') && STORAGE === 'sqlite') {
|
||||
die('The directory "db" must be writeable by your web server user');
|
||||
}
|
||||
|
||||
// install folder still present, need to install wallabag
|
||||
if (is_dir('install')) {
|
||||
require('install/index.php');
|
||||
|
||||
Reference in New Issue
Block a user