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