]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | ||
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 | |
9 | if (! is_writable('db') && STORAGE === 'sqlite') { | |
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 | } |