aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-20 11:23:32 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-20 11:23:32 +0200
commit746f93c290881d97997b8179395de2875eb57c71 (patch)
tree8851400fe88195509343dd4f28ae537747f8e628 /inc
parent38330bfd65181d63609b9350324aa13f1e967bc3 (diff)
downloadwallabag-746f93c290881d97997b8179395de2875eb57c71.tar.gz
wallabag-746f93c290881d97997b8179395de2875eb57c71.tar.zst
wallabag-746f93c290881d97997b8179395de2875eb57c71.zip
fix bug #148 Use of undefined constant POCHE_VERSION
Diffstat (limited to 'inc')
-rwxr-xr-xinc/poche/config.inc.php6
-rw-r--r--inc/poche/define.inc.php2
2 files changed, 5 insertions, 3 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index 4122ff10..cb882cd0 100755
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -15,9 +15,9 @@ if (!file_exists(__DIR__ . '/../../vendor/autoload.php')) {
15 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>'); 15 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>');
16} 16}
17 17
18if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) { 18// if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) {
19 require_once __DIR__ . '/../../inc/poche/myconfig.inc.php'; 19 // require_once __DIR__ . '/../../inc/poche/myconfig.inc.php';
20} 20// }
21require_once __DIR__ . '/../../inc/poche/User.class.php'; 21require_once __DIR__ . '/../../inc/poche/User.class.php';
22require_once __DIR__ . '/../../inc/poche/Url.class.php'; 22require_once __DIR__ . '/../../inc/poche/Url.class.php';
23require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; 23require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
diff --git a/inc/poche/define.inc.php b/inc/poche/define.inc.php
index c32ca098..80d1f29d 100644
--- a/inc/poche/define.inc.php
+++ b/inc/poche/define.inc.php
@@ -22,6 +22,8 @@ define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
22define ('DOWNLOAD_PICTURES', FALSE); 22define ('DOWNLOAD_PICTURES', FALSE);
23define ('SHARE_TWITTER', TRUE); 23define ('SHARE_TWITTER', TRUE);
24define ('SHARE_MAIL', TRUE); 24define ('SHARE_MAIL', TRUE);
25define ('SHARE_SHAARLI', TRUE);
26define ('SHAARLI_URL', 'http://myshaarliurl.com');
25define ('ABS_PATH', 'assets/'); 27define ('ABS_PATH', 'assets/');
26define ('TPL', __DIR__ . '/../../tpl'); 28define ('TPL', __DIR__ . '/../../tpl');
27define ('LOCALE', __DIR__ . '/../../locale'); 29define ('LOCALE', __DIR__ . '/../../locale');