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

Last change on this file since 19673 was 19673, checked in by julien1311, 11 years ago
  • Property svn:eol-style set to LF
File size: 826 bytes
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/* +-----------------------------------------------------------------------+
19 * | Plugin code                                                          |
20 * +-----------------------------------------------------------------------+ */
21       
22include_once(PDF2TAB_PATH.'include/thumbnails.inc.php');
23include_once(PDF2TAB_PATH.'include/picture.inc.php');
24?>
Note: See TracBrowser for help on using the repository browser.