From 7363e4a73da4f6622577482881fdaaa2353922c1 Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Sun, 30 Dec 2012 17:22:23 +0100 Subject: [PATCH] Add license and check for DOKU_INC in action and helper part --- action.php | 11 +++++++++-- helper.php | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/action.php b/action.php index a80e8a2..9aab30a 100644 --- a/action.php +++ b/action.php @@ -1,8 +1,15 @@ + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Michael Hamann + */ +// must be run within Dokuwiki +if (!defined('DOKU_INC')) die(); + +/** + * Action part of the pagemove plugin */ class action_plugin_pagemove extends DokuWiki_Action_Plugin { /** diff --git a/helper.php b/helper.php index fa85983..56bd22d 100644 --- a/helper.php +++ b/helper.php @@ -1,8 +1,15 @@ + * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) + * @author Michael Hamann + */ +// must be run within Dokuwiki +if (!defined('DOKU_INC')) die(); + +/** + * Helper part of the pagemove plugin. */ class helper_plugin_pagemove extends DokuWiki_Plugin { /**