]> git.immae.eu Git - github/wallabag/wallabag.git/blame - check_setup.php
Merge branch 'dev' of https://github.com/wallabag/wallabag into dev
[github/wallabag/wallabag.git] / check_setup.php
CommitLineData
792097fb
NL
1<?php
2
792097fb
NL
3// Check if /cache is writeable
4if (! 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 9if (! 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
14if (is_dir('install')) {
15 require('install/index.php');
16 exit;
17}