diff options
-rwxr-xr-x | inc/poche/config.inc.php | 6 | ||||
-rw-r--r-- | inc/poche/define.inc.php | 2 | ||||
-rw-r--r-- | index.php | 3 |
3 files changed, 8 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'); |
@@ -8,6 +8,9 @@ | |||
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
10 | 10 | ||
11 | if (file_exists(__DIR__ . '/inc/poche/myconfig.inc.php')) { | ||
12 | require_once __DIR__ . '/inc/poche/myconfig.inc.php'; | ||
13 | } | ||
11 | require_once './inc/poche/Tools.class.php'; | 14 | require_once './inc/poche/Tools.class.php'; |
12 | Tools::createMyConfig(); | 15 | Tools::createMyConfig(); |
13 | 16 | ||