Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | Today | - | ||||
action/ | H | 03-May-2018 | - | 112 | 45 | |
conf/ | H | 03-May-2018 | - | 31 | 6 | |
lang/en/ | H | 03-May-2018 | - | 11 | 3 | |
README | H A D | 25-Nov-2016 | 951 | 27 | 18 | |
README.md | H A D | 25-Nov-2016 | 434 | 12 | 7 | |
plugin.info.txt | H A D | 25-Nov-2016 | 205 | 8 | 7 |
README
1phprestrict Plugin for DokuWiki 2 3Restricts PHP by namespace / page 4 5All documentation for this plugin can be found at 6https://www.dokuwiki.org/plugin:phprestrict 7 8If you install this plugin manually, make sure it is installed in 9lib/plugins/phprestrict/ - otherwise, it will not function correctly 10 11Please refer to http://www.dokuwiki.org/plugins for additional info 12on how to install plugins in DokuWiki. 13 14---- 15Copyright (C) Robert Woodhead <trebor@animeigo.com> 16 17This program is free software; you can redistribute it and/or modify 18it under the terms of the GNU General Public License as published by 19the Free Software Foundation; version 2 of the License 20 21This program is distributed in the hope that it will be useful, 22but WITHOUT ANY WARRANTY; without even the implied warranty of 23MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24GNU General Public License for more details. 25 26See the COPYING file in your DokuWiki folder for details 27
README.md
1# phprestrict 2Dokuwiki plugin to restrict php inclusion to pages by namespace or name. 3 4Overrides the current PHP setting, which enables PHP on all pages. 5 6Enable PHP by namespace ("fred:"), page ("fred:derf") and page-prefix ("fred:php*). 7You can then use the ACL to determine what users have the ability to edit PHP pages. 8 9You can also disable "view source" on PHP pages (recommended). 10 11PHP is also disabled on old revision pages. 12