source:
extensions/ThumbnailTooltip/initialize.inc.php
@
32006
Last change on this file since 32006 was 30100, checked in by , 10 years ago | |
---|---|
File size: 544 bytes |
Rev | Line | |
---|---|---|
[30100] | 1 | <?php |
[27648] | 2 | |
[30100] | 3 | |
[27648] | 4 | |
[30100] | 5 | if (!defined('PHPWG_ROOT_PATH')) { |
[27648] | 6 | |
[30100] | 7 | die('Hacking attempt!'); |
[27648] | 8 | |
[30100] | 9 | } |
[27648] | 10 | |
[30100] | 11 | |
12 | ||
13 | add_event_handler('init', 'Thumbnail_Tooltip'); | |
14 | ||
15 | ||
16 | ||
17 | function Thumbnail_Tooltip() { | |
18 | ||
19 | $plugin_name = 'Thumbnail Tooltip'; | |
20 | ||
21 | $plugin_path = dirname(__FILE__).'/'; | |
22 | ||
23 | $plugin_url = get_root_url(); | |
24 | ||
25 | ||
26 | ||
27 | include_once($plugin_path.'include/class.inc.php'); | |
28 | ||
29 | ||
30 | ||
31 | // Create object | |
32 | ||
33 | $Thumbnail_Tooltip = new Thumbnail_Tooltip_IMG($plugin_name, $plugin_path, $plugin_url); | |
34 | ||
35 | set_plugin_data($Thumbnail_Tooltip -> plugin_name, $Thumbnail_Tooltip); | |
36 | ||
37 | } | |
38 | ||
[27648] | 39 | ?> |
Note: See TracBrowser
for help on using the repository browser.