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

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

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

File size: 544 bytes
RevLine 
[30100]1<?php
[27648]2
[30100]3
[27648]4
[30100]5if (!defined('PHPWG_ROOT_PATH')) {
[27648]6
[30100]7  die('Hacking attempt!');
[27648]8
[30100]9}
[27648]10
[30100]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
[27648]39?>
Note: See TracBrowser for help on using the repository browser.