]> git.immae.eu Git - github/wallabag/wallabag.git/blob - check_setup.php
guidelines for wallabag
[github/wallabag/wallabag.git] / check_setup.php
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 }