Revision 225,
653 bytes
checked in by olivier, 15 years ago
(diff) |
Writers plugin refresh
|
Rev | Line | |
---|
[66] | 1 | <?php |
---|
[225] | 2 | # -- BEGIN LICENSE BLOCK ---------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of Dotclear 2. |
---|
| 5 | # |
---|
| 6 | # Copyright (c) 2003-2008 Olivier Meunier and contributors |
---|
| 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ------------------------------------ |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | # Following constants can be overrided in your install config.php: |
---|
| 15 | # |
---|
| 16 | # DC_WR_ALLOW_ADMIN (allow admin permission to be set) |
---|
| 17 | |
---|
| 18 | if (!defined('DC_WR_ALLOW_ADMIN')) { |
---|
| 19 | define('DC_WR_ALLOW_ADMIN',false); |
---|
| 20 | } |
---|
| 21 | |
---|
[66] | 22 | # Super admins don't need this extension |
---|
| 23 | if ($GLOBALS['core']->auth->isSuperAdmin()) { |
---|
| 24 | return; |
---|
| 25 | } |
---|
| 26 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.