summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--feed.php7
-rw-r--r--inc/load.php10
2 files changed, 4 insertions, 13 deletions
diff --git a/feed.php b/feed.php
index 0ad1c2c30..73227e055 100644
--- a/feed.php
+++ b/feed.php
@@ -8,13 +8,6 @@
if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/');
require_once(DOKU_INC.'inc/init.php');
-require_once(DOKU_INC.'inc/common.php');
-require_once(DOKU_INC.'inc/events.php');
-require_once(DOKU_INC.'inc/parserutils.php');
-require_once(DOKU_INC.'inc/feedcreator.class.php');
-require_once(DOKU_INC.'inc/auth.php');
-require_once(DOKU_INC.'inc/pageutils.php');
-require_once(DOKU_INC.'inc/httputils.php');
//close session
session_write_close();
diff --git a/inc/load.php b/inc/load.php
index e06a2c63d..dad03875a 100644
--- a/inc/load.php
+++ b/inc/load.php
@@ -9,12 +9,8 @@
spl_autoload_register('load_autoload');
// require all the common libraries
-// for a e few of these order does matter
-require_once(DOKU_INC.'inc/IXR_Library.php');
-require_once(DOKU_INC.'inc/adLDAP.php');
+// for a few of these order does matter
require_once(DOKU_INC.'inc/blowfish.php');
-require_once(DOKU_INC.'inc/feedcreator.class.php');
-require_once(DOKU_INC.'inc/geshi.php');
require_once(DOKU_INC.'inc/actions.php');
require_once(DOKU_INC.'inc/changelog.php');
require_once(DOKU_INC.'inc/common.php');
@@ -49,7 +45,7 @@ require_once(DOKU_INC.'inc/auth.php');
* require()s their associated php files when an object is instantiated.
*
* @author Andreas Gohr <andi@splitbrain.org>
- * @todo add generic loading of plugins here
+ * @todo add generic loading of plugins and other generically named classes
*/
function load_autoload($name){
static $classes = null;
@@ -76,6 +72,8 @@ function load_autoload($name){
'GeSHi' => DOKU_INC.'inc/geshi.php',
'TarLib' => DOKU_INC.'inc/TarLib.class.php',
'ZibLib' => DOKU_INC.'inc/ZipLib.class.php',
+ 'DokuWikiFeedCreator' => DOKU_INC.'inc/feedcreator.class.php',
+ 'Doku_Parser_Mode' => DOKU_INC.'inc/parser/parser.php',
'DokuWiki_Action_Plugin' => DOKU_PLUGIN.'action.php',
'DokuWiki_Admin_Plugin' => DOKU_PLUGIN.'admin.php',