mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-05 20:16:50 +01:00
28 lines
688 B
PHP
28 lines
688 B
PHP
<?php
|
|
/**
|
|
* wallabag, self hostable application allowing you to not miss any content anymore
|
|
*
|
|
* @category wallabag
|
|
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
|
|
* @copyright 2013
|
|
* @license http://opensource.org/licenses/MIT see COPYING file
|
|
*/
|
|
|
|
define ('WALLABAG', '2.0.0-alpha');
|
|
|
|
use Wallabag\Wallabag\Wallabag;
|
|
|
|
require_once '../app/check_essentials.php';
|
|
require_once '../app/config/global.inc.php';
|
|
|
|
// Check if /cache is writable
|
|
if (! is_writable(CACHE)) {
|
|
die('The directory ' . CACHE . ' must be writable by your web server user');
|
|
}
|
|
|
|
Session::$sessionName = 'wallabag';
|
|
Session::init();
|
|
|
|
// Let's rock !
|
|
$wallabag = new Wallabag();
|
|
$wallabag->run(); |