Skip to content

Commit

Permalink
enabled remote as plugintype
Browse files Browse the repository at this point in the history
  • Loading branch information
dom-mel committed Nov 19, 2011
1 parent 2302fb8 commit a4e0e79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function_exists('ob_gzhandler')) {
init_files();

// setup plugin controller class (can be overwritten in preload.php)
$plugin_types = array('admin','syntax','action','renderer', 'helper');
$plugin_types = array('admin','syntax','action','renderer', 'helper','remote');
global $plugin_controller_class, $plugin_controller;
if (empty($plugin_controller_class)) $plugin_controller_class = 'Doku_Plugin_Controller';

Expand Down
2 changes: 1 addition & 1 deletion inc/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function load_autoload($name){
}

// Plugin loading
if(preg_match('/^(helper|syntax|action|admin|renderer)_plugin_([^_]+)(?:_([^_]+))?$/',
if(preg_match('/^(helper|syntax|action|admin|renderer|remote)_plugin_([^_]+)(?:_([^_]+))?$/',
$name, $m)) {
//try to load the wanted plugin file
// include, but be silent. Maybe some other autoloader has an idea
Expand Down

0 comments on commit a4e0e79

Please sign in to comment.