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

Revision 19310, 744 bytes checked in by julien1311, 7 years ago (diff)

version auto

  • 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_DIR' , basename(dirname(__FILE__)));
14define('PDF2TAB_PATH' , PHPWG_PLUGINS_PATH.PDF2TAB_DIR.'/');
15
16/* +-----------------------------------------------------------------------+
17 * | Plugin code                                                          |
18 * +-----------------------------------------------------------------------+ */
19       
20include_once(PDF2TAB_PATH.'thumbnails.php');
21include_once(PDF2TAB_PATH.'picture.php');
22?>
Note: See TracBrowser for help on using the repository browser.