source: extensions/ThumbnailTooltip/initialize.inc.php @ 32006

Last change on this file since 32006 was 30100, checked in by sarybe, 9 years ago

[Thumbnail_Tooltip] Bug fix for html and double quotes in comment

File size: 544 bytes
Line 
1<?php
2
3
4
5if (!defined('PHPWG_ROOT_PATH')) {
6
7  die('Hacking attempt!');
8
9}
10
11
12
13add_event_handler('init', 'Thumbnail_Tooltip');
14
15
16
17function 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
39?>
Note: See TracBrowser for help on using the repository browser.