-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPluginLssoftFeedback.class.php
executable file
·57 lines (51 loc) · 1.26 KB
/
PluginLssoftFeedback.class.php
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
56
57
<?php
/**
* LiveStreet CMS
* Copyright © 2013 OOO "ЛС-СОФТ"
*
* ------------------------------------------------------
*
* Official site: www.livestreetcms.com
* Contact e-mail: [email protected]
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* ------------------------------------------------------
*
* @link http://www.livestreetcms.com
* @copyright 2013 OOO "ЛС-СОФТ"
* @author Maxim Mzhelskiy <[email protected]>
*
*/
/**
* Запрещаем напрямую через браузер обращение к этому файлу.
*/
if (!class_exists('Plugin')) {
die('Hacking attempt!');
}
class PluginLssoftFeedback extends Plugin
{
/**
* Массив с записями о наследовании плагином части функционала
*
* @var array
*/
protected $aInherits = array(
'action' => array(
'ActionAjax' => '_ActionAjax',
),
);
public function Init()
{
$this->Viewer_AppendScript(Plugin::GetWebPath(__CLASS__) . 'frontend/js/init.js');
}
public function Activate()
{
return true;
}
public function Deactivate()
{
return true;
}
}