]> git.immae.eu Git - github/wallabag/wallabag.git/blame - web/index.php
new folders
[github/wallabag/wallabag.git] / web / index.php
CommitLineData
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
11define ('WALLABAG', '2.0.0-alpha');
12
13require_once '../app/check_essentials.php';
14require_once '../app/check_setup.php';
15require_once '../app/config/global.inc.php';
16
17// Check if /cache is writeable
18if (! is_writable(CACHE)) {
19 die('The directory ' . CACHE . ' must be writeable by your web server user');
20}
21
22Session::$sessionName = 'wallabag';
23Session::init();
24
25// Let's rock !
26$wallabag = new Wallabag\Wallabag\Wallabag();
27$wallabag->run();