diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-20 11:23:32 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-20 11:23:32 +0200 |
commit | 746f93c290881d97997b8179395de2875eb57c71 (patch) | |
tree | 8851400fe88195509343dd4f28ae537747f8e628 /inc | |
parent | 38330bfd65181d63609b9350324aa13f1e967bc3 (diff) | |
download | wallabag-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-x | inc/poche/config.inc.php | 6 | ||||
-rw-r--r-- | inc/poche/define.inc.php | 2 |
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 | ||
18 | if (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 | // } |
21 | require_once __DIR__ . '/../../inc/poche/User.class.php'; | 21 | require_once __DIR__ . '/../../inc/poche/User.class.php'; |
22 | require_once __DIR__ . '/../../inc/poche/Url.class.php'; | 22 | require_once __DIR__ . '/../../inc/poche/Url.class.php'; |
23 | require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; | 23 | require_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); | |||
22 | define ('DOWNLOAD_PICTURES', FALSE); | 22 | define ('DOWNLOAD_PICTURES', FALSE); |
23 | define ('SHARE_TWITTER', TRUE); | 23 | define ('SHARE_TWITTER', TRUE); |
24 | define ('SHARE_MAIL', TRUE); | 24 | define ('SHARE_MAIL', TRUE); |
25 | define ('SHARE_SHAARLI', TRUE); | ||
26 | define ('SHAARLI_URL', 'http://myshaarliurl.com'); | ||
25 | define ('ABS_PATH', 'assets/'); | 27 | define ('ABS_PATH', 'assets/'); |
26 | define ('TPL', __DIR__ . '/../../tpl'); | 28 | define ('TPL', __DIR__ . '/../../tpl'); |
27 | define ('LOCALE', __DIR__ . '/../../locale'); | 29 | define ('LOCALE', __DIR__ . '/../../locale'); |