aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-19 21:27:22 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-19 21:27:22 +0100
commitc78c1a3f08815aab99752026ccdf1dcf63cf43c1 (patch)
tree99fb545cda7c0850e047aaf6d0060330236fb6e7 /inc/poche
parent9e7f6caf03b90076ba7b448aa7f11d40f584045f (diff)
downloadwallabag-c78c1a3f08815aab99752026ccdf1dcf63cf43c1.tar.gz
wallabag-c78c1a3f08815aab99752026ccdf1dcf63cf43c1.tar.zst
wallabag-c78c1a3f08815aab99752026ccdf1dcf63cf43c1.zip
@fivefilters via composer
Diffstat (limited to 'inc/poche')
-rwxr-xr-xinc/poche/Tools.class.php2
-rwxr-xr-xinc/poche/global.inc.php8
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
15define('ROOT', INCLUDES . '/..'); 15define('ROOT', INCLUDES . '/..');
16 16
17require_once ROOT . '/vendor/autoload.php';
17require_once INCLUDES . '/poche/Tools.class.php'; 18require_once INCLUDES . '/poche/Tools.class.php';
18require_once INCLUDES . '/poche/User.class.php'; 19require_once INCLUDES . '/poche/User.class.php';
19require_once INCLUDES . '/poche/Url.class.php'; 20require_once INCLUDES . '/poche/Url.class.php';
20require_once ROOT . '/vendor/autoload.php';
21require_once INCLUDES . '/poche/Template.class.php'; 21require_once INCLUDES . '/poche/Template.class.php';
22require_once INCLUDES . '/poche/Language.class.php'; 22require_once INCLUDES . '/poche/Language.class.php';
23require_once INCLUDES . '/poche/Routing.class.php'; 23require_once INCLUDES . '/poche/Routing.class.php';
24require_once INCLUDES . '/poche/WallabagEBooks.class.php'; 24require_once INCLUDES . '/poche/WallabagEBooks.class.php';
25require_once INCLUDES . '/poche/Poche.class.php'; 25require_once INCLUDES . '/poche/Poche.class.php';
26
27require_once INCLUDES . '/poche/Database.class.php'; 26require_once INCLUDES . '/poche/Database.class.php';
28require_once INCLUDES . '/poche/FlattrItem.class.php'; 27require_once INCLUDES . '/poche/FlattrItem.class.php';
29 28
30require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedItem.php';
31require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedWriter.php';
32
33# system configuration; database credentials et caetera 29# system configuration; database credentials et caetera
34require_once INCLUDES . '/poche/config.inc.php'; 30require_once INCLUDES . '/poche/config.inc.php';
35require_once INCLUDES . '/poche/config.inc.default.php'; 31require_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
45if (defined('ERROR_REPORTING')) { 41if (defined('ERROR_REPORTING')) {
46 error_reporting(ERROR_REPORTING); 42 error_reporting(ERROR_REPORTING);
47} 43} \ No newline at end of file