Dotclear

source: plugins/writers/_prepend.php @ 3302

Revision 3302, 669 bytes checked in by brol, 9 years ago (diff)

v1.2 modifs licence + encodage fichier + fin fichiers php, requiert dc2.6

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of Writers, a plugin for Dotclear.
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
17if (!defined('DC_WR_ALLOW_ADMIN')) {
18     define('DC_WR_ALLOW_ADMIN',false);
19}
20
21# Super admins don't need this extension
22if ($GLOBALS['core']->auth->isSuperAdmin()) {
23     return;
24}
Note: See TracBrowser for help on using the repository browser.

Sites map