summaryrefslogtreecommitdiff
path: root/lib/plugins/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/auth.php')
-rw-r--r--lib/plugins/auth.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php
index 637435252..39d63d8a1 100644
--- a/lib/plugins/auth.php
+++ b/lib/plugins/auth.php
@@ -1,4 +1,7 @@
<?php
+// must be run within Dokuwiki
+if(!defined('DOKU_INC')) die();
+
/**
* Auth Plugin Prototype
*
@@ -8,11 +11,7 @@
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Chris Smith <chris@jalakai.co.uk>
* @author Jan Schumann <js@jschumann-it.com>
-
*/
-// must be run within Dokuwiki
-if(!defined('DOKU_INC')) die();
-
class DokuWiki_Auth_Plugin extends DokuWiki_Plugin {
var $success = true;