diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-19 21:27:22 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-19 21:27:22 +0100 |
commit | c78c1a3f08815aab99752026ccdf1dcf63cf43c1 (patch) | |
tree | 99fb545cda7c0850e047aaf6d0060330236fb6e7 /inc/poche | |
parent | 9e7f6caf03b90076ba7b448aa7f11d40f584045f (diff) | |
download | wallabag-c78c1a3f08815aab99752026ccdf1dcf63cf43c1.tar.gz wallabag-c78c1a3f08815aab99752026ccdf1dcf63cf43c1.tar.zst wallabag-c78c1a3f08815aab99752026ccdf1dcf63cf43c1.zip |
@fivefilters via composer
Diffstat (limited to 'inc/poche')
-rwxr-xr-x | inc/poche/Tools.class.php | 2 | ||||
-rwxr-xr-x | inc/poche/global.inc.php | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 7ccfc069..d625fc40 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -345,7 +345,7 @@ final class Tools | |||
345 | // Silence $scope function to avoid | 345 | // Silence $scope function to avoid |
346 | // issues with FTRSS when error_reporting is to high | 346 | // issues with FTRSS when error_reporting is to high |
347 | // FTRSS generates PHP warnings which break output | 347 | // FTRSS generates PHP warnings which break output |
348 | $json = @$scope("inc/3rdparty/makefulltextfeed.php", array("url" => $url)); | 348 | $json = @$scope("vendor/wallabag/Fivefilters_Libraries/makefulltextfeed.php", array("url" => $url)); |
349 | 349 | ||
350 | // Clearing and restoring context | 350 | // Clearing and restoring context |
351 | foreach ($GLOBALS as $key => $value) { | 351 | foreach ($GLOBALS as $key => $value) { |
diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index 95bf8ef1..ff7ebf64 100755 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php | |||
@@ -14,22 +14,18 @@ define('INCLUDES', dirname(__FILE__) . '/..'); | |||
14 | # the poche root directory | 14 | # the poche root directory |
15 | define('ROOT', INCLUDES . '/..'); | 15 | define('ROOT', INCLUDES . '/..'); |
16 | 16 | ||
17 | require_once ROOT . '/vendor/autoload.php'; | ||
17 | require_once INCLUDES . '/poche/Tools.class.php'; | 18 | require_once INCLUDES . '/poche/Tools.class.php'; |
18 | require_once INCLUDES . '/poche/User.class.php'; | 19 | require_once INCLUDES . '/poche/User.class.php'; |
19 | require_once INCLUDES . '/poche/Url.class.php'; | 20 | require_once INCLUDES . '/poche/Url.class.php'; |
20 | require_once ROOT . '/vendor/autoload.php'; | ||
21 | require_once INCLUDES . '/poche/Template.class.php'; | 21 | require_once INCLUDES . '/poche/Template.class.php'; |
22 | require_once INCLUDES . '/poche/Language.class.php'; | 22 | require_once INCLUDES . '/poche/Language.class.php'; |
23 | require_once INCLUDES . '/poche/Routing.class.php'; | 23 | require_once INCLUDES . '/poche/Routing.class.php'; |
24 | require_once INCLUDES . '/poche/WallabagEBooks.class.php'; | 24 | require_once INCLUDES . '/poche/WallabagEBooks.class.php'; |
25 | require_once INCLUDES . '/poche/Poche.class.php'; | 25 | require_once INCLUDES . '/poche/Poche.class.php'; |
26 | |||
27 | require_once INCLUDES . '/poche/Database.class.php'; | 26 | require_once INCLUDES . '/poche/Database.class.php'; |
28 | require_once INCLUDES . '/poche/FlattrItem.class.php'; | 27 | require_once INCLUDES . '/poche/FlattrItem.class.php'; |
29 | 28 | ||
30 | require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedItem.php'; | ||
31 | require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedWriter.php'; | ||
32 | |||
33 | # system configuration; database credentials et caetera | 29 | # system configuration; database credentials et caetera |
34 | require_once INCLUDES . '/poche/config.inc.php'; | 30 | require_once INCLUDES . '/poche/config.inc.php'; |
35 | require_once INCLUDES . '/poche/config.inc.default.php'; | 31 | require_once INCLUDES . '/poche/config.inc.default.php'; |
@@ -44,4 +40,4 @@ if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timez | |||
44 | 40 | ||
45 | if (defined('ERROR_REPORTING')) { | 41 | if (defined('ERROR_REPORTING')) { |
46 | error_reporting(ERROR_REPORTING); | 42 | error_reporting(ERROR_REPORTING); |
47 | } | 43 | } \ No newline at end of file |