diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-01-20 07:40:39 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-01-20 07:40:39 +0100 |
commit | 6ad93dff69d7c2beb2196e73f641e6484fccbeb7 (patch) | |
tree | 12430b858be2a41029fc11d1afa1fa2a120b96f9 /web | |
parent | c78c1a3f08815aab99752026ccdf1dcf63cf43c1 (diff) | |
download | wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.tar.gz wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.tar.zst wallabag-6ad93dff69d7c2beb2196e73f641e6484fccbeb7.zip |
new folders
Diffstat (limited to 'web')
-rw-r--r-- | web/index.php | 27 | ||||
-rw-r--r-- | web/robots.txt | 2 |
2 files changed, 29 insertions, 0 deletions
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 @@ | |||
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 | |||
13 | require_once '../app/check_essentials.php'; | ||
14 | require_once '../app/check_setup.php'; | ||
15 | require_once '../app/config/global.inc.php'; | ||
16 | |||
17 | // Check if /cache is writeable | ||
18 | if (! is_writable(CACHE)) { | ||
19 | die('The directory ' . CACHE . ' must be writeable by your web server user'); | ||
20 | } | ||
21 | |||
22 | Session::$sessionName = 'wallabag'; | ||
23 | Session::init(); | ||
24 | |||
25 | // Let's rock ! | ||
26 | $wallabag = new Wallabag\Wallabag\Wallabag(); | ||
27 | $wallabag->run(); \ No newline at end of file | ||
diff --git a/web/robots.txt b/web/robots.txt new file mode 100644 index 00000000..77470cb3 --- /dev/null +++ b/web/robots.txt | |||
@@ -0,0 +1,2 @@ | |||
1 | User-agent: * | ||
2 | Disallow: / \ No newline at end of file | ||