From 6ad93dff69d7c2beb2196e73f641e6484fccbeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 20 Jan 2015 07:40:39 +0100 Subject: new folders --- web/index.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 web/index.php (limited to 'web/index.php') diff --git a/web/index.php b/web/index.php new file mode 100644 index 00000000..05355727 --- /dev/null +++ b/web/index.php @@ -0,0 +1,27 @@ + + * @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(); \ No newline at end of file -- cgit v1.2.3