aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-03-16 15:10:41 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-16 15:10:41 +0100
commitae54a590b9962916dc1a62ba55e8d8e8ac0fc215 (patch)
tree6382f70956bf1e2e83b7db22a2e1582c8e09686f /lib/lib_rss.php
parentbe5848fd4fa280e5a4606fef25669974414547a5 (diff)
Replace lib_phpQuery by PhpGt/CssXPath (#4261)
https://github.com/PhpGt/CssXPath
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 4e415d857..51578da0b 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -45,6 +45,8 @@ function classAutoloader($class) {
include(LIB_PATH . '/' . str_replace('_', '/', $class) . '.php');
} elseif (strpos($class, 'SimplePie') === 0) {
include(LIB_PATH . '/SimplePie/' . str_replace('_', '/', $class) . '.php');
+ } elseif (strpos($class, 'CssXPath') !== false) {
+ include(LIB_PATH . '/CssXPath/' . basename(str_replace('\\', '/', $class)) . '.php');
} elseif (strpos($class, 'PHPMailer') === 0) {
include(LIB_PATH . '/' . str_replace('\\', '/', $class) . '.php');
}