]>
Commit | Line | Data |
---|---|---|
792097fb NL |
1 | <?php |
2 | ||
792097fb NL |
3 | // Check if /cache is writeable |
4 | if (! is_writable('cache')) { | |
5 | die('The directory "cache" must be writeable by your web server user'); | |
6 | } | |
7 | ||
8 | // Check if /db is writeable | |
9c67b1b8 | 9 | if (! is_writable('db') && STORAGE === 'sqlite') { |
792097fb NL |
10 | die('The directory "db" must be writeable by your web server user'); |
11 | } | |
12 | ||
13 | // install folder still present, need to install wallabag | |
14 | if (is_dir('install')) { | |
15 | require('install/index.php'); | |
16 | exit; | |
17 | } |