Dotclear

source: plugins/subscribeToComments/_prepend.php @ 2294

Revision 2294, 1.5 KB checked in by Moe, 13 years ago (diff)

Subscribe to comments 1.3.2 :

  • limited subscribers list to the current blog (closes #461)
  • moved _public.php classes in inc/
  • switched to GPL v2
  • PHP 5.3 compatibility ?
Line 
1<?php 
2# ***** BEGIN LICENSE BLOCK *****
3#
4# This file is part of Subscribe to comments, a plugin for Dotclear 2
5# Copyright (C) 2008,2009,2010 Moe (http://gniark.net/)
6#
7# Subscribe to comments is free software; you can redistribute it and/or
8# modify it under the terms of the GNU General Public License v2.0
9# as published by the Free Software Foundation.
10#
11# Subscribe to comments is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public
17# License along with this program. If not, see
18# <http://www.gnu.org/licenses/>.
19#
20# Icon (icon.png) and images are from Silk Icons :
21# <http://www.famfamfam.com/lab/icons/silk/>
22#
23# Inspired by Subscribe to Comments for WordPress :
24# <http://txfx.net/code/wordpress/subscribe-to-comments/>
25#
26# ***** END LICENSE BLOCK *****
27
28if (!defined('DC_RC_PATH')) {return;}
29
30$__autoload['subscribeToComments'] = dirname(__FILE__).
31     '/inc/lib.subscribeToComments.php';
32$__autoload['subscribeToCommentsDocument'] = dirname(__FILE__).
33     '/inc/lib.subscribeToComments.document.php';
34$__autoload['subscribeToCommentsTpl'] = dirname(__FILE__).
35     '/inc/lib.subscribeToComments.tpl.php';
36$__autoload['subscriber'] = dirname(__FILE__).
37     '/inc/class.subscriber.php';
38
39$core->url->register('subscribetocomments','subscribetocomments',
40     '^subscribetocomments(?:/(.+))?$',array('subscribeToCommentsDocument','page'));
41
42?>
Note: See TracBrowser for help on using the repository browser.

Sites map