Dotclear

source: plugins/fairTrackbacks/_prepend.php @ 857:f44a28c1b4a5

Revision 857:f44a28c1b4a5, 700 bytes checked in by JcDenis, 13 years ago (diff)

Fixes missing globals in prepend

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

Sites map