2014-02-18 21:22:34 +01:00
|
|
|
<?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
|
2014-07-22 11:52:18 +02:00
|
|
|
if (! is_writable('db') && STORAGE === 'sqlite') {
|
2014-02-18 21:22:34 +01:00
|
|
|
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;
|
|
|
|
}
|