1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 06:45:56 +00:00

implement experimental article on-import data filters

This commit is contained in:
Andrew Dolgov
2012-11-26 14:33:18 +04:00
parent bf2611195f
commit cc85704f3c
4 changed files with 111 additions and 2 deletions

View File

@@ -7,11 +7,19 @@
function __autoload($class) {
$class_file = str_replace("_", "/", strtolower(basename($class)));
$file = dirname(__FILE__)."/../plugins/$class_file.php";
if (file_exists($file)) {
require $file;
return;
}
$file = dirname(__FILE__)."/../classes/$class_file.php";
if (file_exists($file)) {
require $file;
}
}
mb_internal_encoding("UTF-8");