mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-23 17:42:15 -05:00
fix bug #148 Use of undefined constant POCHE_VERSION
This commit is contained in:
parent
38330bfd65
commit
746f93c290
@ -15,9 +15,9 @@ if (!file_exists(__DIR__ . '/../../vendor/autoload.php')) {
|
|||||||
die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>');
|
die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) {
|
// if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) {
|
||||||
require_once __DIR__ . '/../../inc/poche/myconfig.inc.php';
|
// require_once __DIR__ . '/../../inc/poche/myconfig.inc.php';
|
||||||
}
|
// }
|
||||||
require_once __DIR__ . '/../../inc/poche/User.class.php';
|
require_once __DIR__ . '/../../inc/poche/User.class.php';
|
||||||
require_once __DIR__ . '/../../inc/poche/Url.class.php';
|
require_once __DIR__ . '/../../inc/poche/Url.class.php';
|
||||||
require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
|
require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
|
||||||
|
@ -22,6 +22,8 @@ define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
|
|||||||
define ('DOWNLOAD_PICTURES', FALSE);
|
define ('DOWNLOAD_PICTURES', FALSE);
|
||||||
define ('SHARE_TWITTER', TRUE);
|
define ('SHARE_TWITTER', TRUE);
|
||||||
define ('SHARE_MAIL', TRUE);
|
define ('SHARE_MAIL', TRUE);
|
||||||
|
define ('SHARE_SHAARLI', TRUE);
|
||||||
|
define ('SHAARLI_URL', 'http://myshaarliurl.com');
|
||||||
define ('ABS_PATH', 'assets/');
|
define ('ABS_PATH', 'assets/');
|
||||||
define ('TPL', __DIR__ . '/../../tpl');
|
define ('TPL', __DIR__ . '/../../tpl');
|
||||||
define ('LOCALE', __DIR__ . '/../../locale');
|
define ('LOCALE', __DIR__ . '/../../locale');
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
* @license http://www.wtfpl.net/ see COPYING file
|
* @license http://www.wtfpl.net/ see COPYING file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (file_exists(__DIR__ . '/inc/poche/myconfig.inc.php')) {
|
||||||
|
require_once __DIR__ . '/inc/poche/myconfig.inc.php';
|
||||||
|
}
|
||||||
require_once './inc/poche/Tools.class.php';
|
require_once './inc/poche/Tools.class.php';
|
||||||
Tools::createMyConfig();
|
Tools::createMyConfig();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user