Dotclear

source: plugins/rateIt/_prepend.php @ 1458

Revision 1458, 1.3 KB checked in by JcDenis, 14 years ago (diff)

rateIt 0.9.5:

  • Fixed erreur 1071 in some MySQL servers
  • Added type meta equal to type tag
  • Added support for plugin activityReport
  • Fixed typo
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of rateIt, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009 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#
12# -- END LICENSE BLOCK ------------------------------------
13
14if (!defined('DC_RC_PATH')){return;}
15
16global $__autoload, $core;
17
18# Class
19$__autoload['rateIt'] = dirname(__FILE__).'/inc/class.rateit.php';
20$__autoload['rateItRest'] = dirname(__FILE__).'/inc/class.rateit.rest.php';
21
22# Public urls
23$core->url->register('rateItmodule',
24     'rateit','^rateit/(.+)$',array('urlRateIt','files'));
25$core->url->register('rateItpostform',
26     'rateitpost','^rateitpost/(.+)$',array('urlRateIt','postform'));
27$core->url->register('rateItservice',
28     'rateitservice','^rateitservice/$',array('urlRateIt','service'));
29
30# Generic class (Used on several plugins)
31if (!is_callable(array('libImagePath','getArray')))
32     require dirname(__FILE__).'/inc/lib.image.path.php';
33
34# Add rateIt report on plugin activityReport
35if ($core->activityReport instanceof activityReport)
36{
37     require_once dirname(__FILE__).'/inc/lib.rateit.activityreport.php';
38}
39?>
Note: See TracBrowser for help on using the repository browser.

Sites map