aboutsummaryrefslogblamecommitdiffhomepage
path: root/check_setup.php
blob: 7e378b1537ee0b6e0c1a3fc5d84c43919f60ce05 (plain) (tree)
1
2
3
4
5
6
7
8
9

     





                                                                           
                                                  







                                                                        
<?php

// Check if /cache is writeable
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');
    exit;
}