1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

new folders

This commit is contained in:
Nicolas Lœuillet 2015-01-20 07:40:39 +01:00
parent c78c1a3f08
commit 6ad93dff69
61 changed files with 146 additions and 97 deletions

27
web/index.php Normal file
View file

@ -0,0 +1,27 @@
<?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');
require_once '../app/check_essentials.php';
require_once '../app/check_setup.php';
require_once '../app/config/global.inc.php';
// Check if /cache is writeable
if (! is_writable(CACHE)) {
die('The directory ' . CACHE . ' must be writeable by your web server user');
}
Session::$sessionName = 'wallabag';
Session::init();
// Let's rock !
$wallabag = new Wallabag\Wallabag\Wallabag();
$wallabag->run();

2
web/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: /