]>
Commit | Line | Data |
---|---|---|
6ad93dff NL |
1 | <?php |
2 | /** | |
3 | * wallabag, self hostable application allowing you to not miss any content anymore | |
4 | * | |
5 | * @category wallabag | |
6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> | |
7 | * @copyright 2013 | |
8 | * @license http://opensource.org/licenses/MIT see COPYING file | |
9 | */ | |
10 | ||
11 | define ('WALLABAG', '2.0.0-alpha'); | |
12 | ||
79e051a1 NL |
13 | use Wallabag\Wallabag\Wallabag; |
14 | ||
6ad93dff NL |
15 | require_once '../app/check_essentials.php'; |
16 | require_once '../app/check_setup.php'; | |
17 | require_once '../app/config/global.inc.php'; | |
18 | ||
19 | // Check if /cache is writeable | |
20 | if (! is_writable(CACHE)) { | |
21 | die('The directory ' . CACHE . ' must be writeable by your web server user'); | |
22 | } | |
23 | ||
24 | Session::$sessionName = 'wallabag'; | |
25 | Session::init(); | |
26 | ||
27 | // Let's rock ! | |
79e051a1 | 28 | $wallabag = new Wallabag(); |
6ad93dff | 29 | $wallabag->run(); |