/action.php |
@@ -5,10 +5,9 @@ |
* Action plugin component, for cache validity determination |
* |
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) |
* @author Wizardry and Steamworks office@grimore.org |
* original: Christopher Smith <chris@jalakai.co.uk> |
* @author Christopher Smith <chris@jalakai.co.uk> |
*/ |
if(!defined('DOKU_INC')) die(); // no Dokuwiki, no go |
if(!defined('DOKU_INC')) die(); // no DokuWiki, no go |
|
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |
require_once(DOKU_PLUGIN.'action.php'); |
@@ -24,17 +23,17 @@ |
*/ |
function getInfo(){ |
return array( |
'author' => 'Wizardry and Steamworks', |
'email' => 'office@grimore.org', |
'date' => '2016-11-19', |
'author' => 'Christopher Smith', |
'email' => 'chris@jalakai.co.uk', |
'date' => '2008-08-13', |
'name' => 'Source Plugin', |
'desc' => 'Include a remote source file', |
'url' => 'http://grimore.org/dokuwiki/plugins/source', |
'url' => 'http://www.dokuwiki.org/plugin:source', |
); |
} |
|
/** |
* plugin should use this method to register its handlers with the dokuwiki's event controller |
* plugin should use this method to register its handlers with the DokuWiki's event controller |
*/ |
function register(Doku_Event_Handler $controller) { |
$controller->register_hook('PARSER_CACHE_USE','BEFORE', $this, '_cache_prepare'); |
@@ -99,4 +98,5 @@ |
|
} |
|
//Setup VIM: ex: et ts=4 enc=utf-8 : |
//Setup VIM: ex: et ts=4 enc=utf-8 : |
|