source: extensions/pdf2tab/main.inc.php @ 19662

Revision 19662, 825 bytes checked in by julien1311, 7 years ago (diff)

more extensions supported

  • Property svn:eol-style set to LF
Line 
1<?php
2/*
3Plugin Name: pdf2tab
4Version: auto
5Description: open pdf files in new tab instead of downloading it
6Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=655
7Author: Julien1311
8*/
9
10//Check whether we are indeed included by Piwigo.
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12
13define('PDF2TAB_ABSOLUTE_PATH' , dirname(__FILE__).'/');
14define('PDF2TAB_DIR' , basename(dirname(__FILE__)));
15define('PDF2TAB_PATH' , PHPWG_PLUGINS_PATH.PDF2TAB_DIR.'/');
16
17/* +-----------------------------------------------------------------------+
18 * | Plugin code                                                          |
19 * +-----------------------------------------------------------------------+ */
20       
21include_once(PDF2TAB_PATH.'include/thumbnails.inc.php');
22include_once(PDF2TAB_PATH.'include/picture.inc.php');
23?>
Note: See TracBrowser for help on using the repository browser.