Dotclear

source: plugins/activityReport/_prepend.php @ 2018

Revision 2018, 1014 bytes checked in by JcDenis, 14 years ago (diff)

activityReport 0.8:

  • Added support of _uninstall.php file
  • Added support of html or plain text email
  • Added support of plugin contribute
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of activityReport, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009-2010 JC Denis and contributors
6# jcdenis@gdwd.com
7#
8# Licensed under the GPL version 2.0 license.
9# A copy of this license is available in LICENSE file or at
10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11# -- END LICENSE BLOCK ------------------------------------
12
13if (!defined('DC_RC_PATH')){return;}
14
15global $__autoload, $core;
16
17$__autoload['activityReport'] = 
18     dirname(__FILE__).'/inc/class.activity.report.php';
19
20try
21{
22     $core->activityReport = new activityReport($core);
23
24     $core->url->register(
25          'activityReport',
26          'reports',
27          '^reports/((atom|rss2)/(.+))$',
28          array('activityReportPublicUrl','feed')
29     );
30
31     define('ACTIVITY_REPORT',true);
32
33     require_once dirname(__FILE__).'/inc/class.activity.report.behaviors.php';
34}
35catch (Exception $e) {
36     //throw new Exception('Failed to launch activityReport');
37}
38?>
Note: See TracBrowser for help on using the repository browser.

Sites map