diff options
author | chris <chris@jalakai.co.uk> | 2006-08-04 16:22:43 +0200 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-08-04 16:22:43 +0200 |
commit | 03c4aec3c817c51eda2cf5c241f76e3bef585799 (patch) | |
tree | df6e92a9b73f0ff360fc3c44c0e0c8426809ee97 /inc/pluginutils.php | |
parent | ac900efc10a9139823163ed90870a7595d726f9f (diff) | |
download | rpg-03c4aec3c817c51eda2cf5c241f76e3bef585799.tar.gz rpg-03c4aec3c817c51eda2cf5c241f76e3bef585799.tar.bz2 |
unittest fixes
darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
Diffstat (limited to 'inc/pluginutils.php')
-rw-r--r-- | inc/pluginutils.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/pluginutils.php b/inc/pluginutils.php index 4d3b5cbd6..a93cca936 100644 --- a/inc/pluginutils.php +++ b/inc/pluginutils.php @@ -7,6 +7,7 @@ */ // plugin related constants +if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); $plugin_types = array('admin','syntax','action'); /** @@ -67,7 +68,7 @@ function &plugin_load($type,$name){ //plugin already loaded? - if($DOKU_PLUGINS[$type][$name] != null){ + if(!empty($DOKU_PLUGINS[$type][$name])){ return $DOKU_PLUGINS[$type][$name]; } |