Revision 3302,
669 bytes
checked in by brol, 9 years ago
(diff) |
v1.2 modifs licence + encodage fichier + fin fichiers php, requiert dc2.6
|
Rev | Line | |
---|
[66] | 1 | <?php |
---|
[225] | 2 | # -- BEGIN LICENSE BLOCK ---------------------------------- |
---|
| 3 | # |
---|
[3302] | 4 | # This file is part of Writers, a plugin for Dotclear. |
---|
[225] | 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 | # Following constants can be overrided in your install config.php: |
---|
| 14 | # |
---|
| 15 | # DC_WR_ALLOW_ADMIN (allow admin permission to be set) |
---|
| 16 | |
---|
| 17 | if (!defined('DC_WR_ALLOW_ADMIN')) { |
---|
| 18 | define('DC_WR_ALLOW_ADMIN',false); |
---|
| 19 | } |
---|
| 20 | |
---|
[66] | 21 | # Super admins don't need this extension |
---|
| 22 | if ($GLOBALS['core']->auth->isSuperAdmin()) { |
---|
| 23 | return; |
---|
[3302] | 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.