aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/check_essentials.php6
-rwxr-xr-xapp/check_setup.php9
-rwxr-xr-xapp/config/global.inc.php6
-rw-r--r--app/db/.htaccess2
-rwxr-xr-xapp/db/poche.sqlitebin491520 -> 0 bytes
-rwxr-xr-xapp/db/poche.sqlite3bin491520 -> 0 bytes
6 files changed, 6 insertions, 17 deletions
diff --git a/app/check_essentials.php b/app/check_essentials.php
index a47cd5a8..073b6032 100644
--- a/app/check_essentials.php
+++ b/app/check_essentials.php
@@ -1,13 +1,13 @@
1<?php 1<?php
2if (!file_exists(__DIR__ . '/config/config.inc.php')) {
3 die('wallabag seems to be not installed. Please execute ./bin/install before.');
4}
2 5
3// PHP 5.3 minimum
4if (version_compare(PHP_VERSION, '5.3.3', '<')) { 6if (version_compare(PHP_VERSION, '5.3.3', '<')) {
5 die('This software require PHP 5.3.3 minimum'); 7 die('This software require PHP 5.3.3 minimum');
6} 8}
7 9
8// Short tags must be enabled for PHP < 5.4
9if (version_compare(PHP_VERSION, '5.4.0', '<')) { 10if (version_compare(PHP_VERSION, '5.4.0', '<')) {
10
11 if (! ini_get('short_open_tag')) { 11 if (! ini_get('short_open_tag')) {
12 die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"'); 12 die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"');
13 } 13 }
diff --git a/app/check_setup.php b/app/check_setup.php
deleted file mode 100755
index 57495f2c..00000000
--- a/app/check_setup.php
+++ /dev/null
@@ -1,9 +0,0 @@
1<?php
2
3
4
5// install folder still present, need to install wallabag
6// if (is_dir('install')) {
7// require('install/index.php');
8// exit;
9// } \ No newline at end of file
diff --git a/app/config/global.inc.php b/app/config/global.inc.php
index 4df68ea9..59db5aa1 100755
--- a/app/config/global.inc.php
+++ b/app/config/global.inc.php
@@ -12,9 +12,9 @@ define('ROOT', dirname(__FILE__) . '/../..');
12 12
13require_once ROOT . '/vendor/autoload.php'; 13require_once ROOT . '/vendor/autoload.php';
14 14
15# system configuration; database credentials et caetera 15# system configuration
16require_once dirname(__FILE__) . '/config.inc.php'; 16require_once __DIR__ . '/config.inc.php';
17require_once dirname(__FILE__) . '/config.inc.default.php'; 17require_once __DIR__ . '/config.inc.default.php';
18 18
19if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { 19if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
20 date_default_timezone_set('UTC'); 20 date_default_timezone_set('UTC');
diff --git a/app/db/.htaccess b/app/db/.htaccess
deleted file mode 100644
index 93169e4e..00000000
--- a/app/db/.htaccess
+++ /dev/null
@@ -1,2 +0,0 @@
1Order deny,allow
2Deny from all
diff --git a/app/db/poche.sqlite b/app/db/poche.sqlite
deleted file mode 100755
index 9e9e52cb..00000000
--- a/app/db/poche.sqlite
+++ /dev/null
Binary files differ
diff --git a/app/db/poche.sqlite3 b/app/db/poche.sqlite3
deleted file mode 100755
index 3c80dc22..00000000
--- a/app/db/poche.sqlite3
+++ /dev/null
Binary files differ