Skip to content

Commit

Permalink
Fix deprecation message "require", use autoloading. Fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
einhirn committed Jul 31, 2023
1 parent 9533613 commit a15ed95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion action.php
@@ -1,7 +1,6 @@
<?php
if(!defined('DOKU_INC')) die();
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'action.php');

class action_plugin_legalnotice extends DokuWiki_Action_Plugin {

Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base legalnotice
author Christian Marg
email marg@rz.tu-clausthal.de
date 2020-08-10
date 2023-07-31
name legal notice
desc adds a legal (or other) notice below the login form
url http://www.dokuwiki.org/plugin:legalnotice

0 comments on commit a15ed95

Please sign in to comment.