diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-02-01 16:10:25 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-02-01 16:10:25 +0100 |
commit | c2a6d81662045023bdf1617b6b49f71c274d55ca (patch) | |
tree | 3449fc7e242890cbc1c18293e6efbca7a7403df9 /lib/plugins/acl/admin.php | |
parent | 0af14a6e25ba35e88d96762bc73325838868e3fe (diff) | |
download | rpg-c2a6d81662045023bdf1617b6b49f71c274d55ca.tar.gz rpg-c2a6d81662045023bdf1617b6b49f71c274d55ca.tar.bz2 |
plugin related autoloading
This patch moved the place where DOKU_PLUGIN is defined. It no longer
can be set from a normal config (only via preload)
Diffstat (limited to 'lib/plugins/acl/admin.php')
-rw-r--r-- | lib/plugins/acl/admin.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php index a7037047a..b38d2ac6e 100644 --- a/lib/plugins/acl/admin.php +++ b/lib/plugins/acl/admin.php @@ -10,9 +10,6 @@ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); -if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); -require_once(DOKU_PLUGIN.'admin.php'); - /** * All DokuWiki plugins to extend the admin function * need to inherit from this class @@ -216,7 +213,6 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { * @author Andreas Gohr <andi@splitbrain.org> */ function _html_explorer(){ - require_once(DOKU_INC.'inc/search.php'); global $conf; global $ID; global $lang; |