Dotclear

source: plugins/fairTrackbacks/_prepend.php @ 2095:1fceb8fc56a6

Revision 2095:1fceb8fc56a6, 677 bytes checked in by Denis Jean-Chirstian <contact@…>, 12 years ago (diff)

Now load _prepend.php files from dcModules::loadModuleFile(), cleanup officials plugins prepend files, addresses #1471, addresses #1716

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
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 -----------------------------------------
12if (!defined('DC_RC_PATH')) { return; }
13
14if (!defined('DC_FAIRTRACKBACKS_FORCE')) {
15     define('DC_FAIRTRACKBACKS_FORCE',false);
16}
17
18if (!DC_FAIRTRACKBACKS_FORCE) {
19     $__autoload['dcFilterFairTrackbacks'] = dirname(__FILE__).'/class.dc.filter.fairtrackbacks.php';
20     $core->spamfilters[] = 'dcFilterFairTrackbacks';
21}
Note: See TracBrowser for help on using the repository browser.

Sites map