This repository was archived by the owner on Sep 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_prepend.php
More file actions
55 lines (46 loc) · 1.58 KB
/
_prepend.php
File metadata and controls
55 lines (46 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of zoneclearFeedServer, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2015 Jean-Christian Denis and contributors
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) {
return null;
}
if ($core->getVersion('zoneclearFeedServer') !=
$core->plugins->moduleInfo('zoneclearFeedServer', 'version')) {
return null;
}
$d = dirname(__FILE__).'/inc/';
$__autoload['zoneclearFeedServer'] = $d.'class.zoneclear.feed.server.php';
$__autoload['zcfsFeedsList'] = $d.'lib.zcfs.list.php';
$__autoload['zcfsEntriesList'] = $d.'lib.zcfs.list.php';
$__autoload['zcfsFeedsActionsPage'] = $d.'class.zcfs.feedsactions.php';
$__autoload['zcfsDefaultFeedsActions'] = $d.'class.zcfs.feedsactions.php';
# public url for page of description of the flux
$core->url->register(
'zoneclearFeedsPage',
'zcfeeds',
'^zcfeeds(.*?)$',
array('zcfsUrlHandler', 'zcFeedsPage')
);
# Add to plugn soCialMe (writer part)
$__autoload['zcfsSoCialMeWriter'] = $d.'lib.zcfs.socialmewriter.php';
$core->addBehavior(
'soCialMeWriterMarker',
array('zcfsSoCialMeWriter', 'soCialMeWriterMarker')
);
$core->addBehavior(
'zoneclearFeedServerAfterFeedUpdate',
array('zcfsSoCialMeWriter', 'zoneclearFeedServerAfterFeedUpdate')
);
# Add to report on plugin activityReport
if (defined('ACTIVITY_REPORT')) {
require_once $d.'lib.zcfs.activityreport.php';
}