Last change
on this file since 19310 was
19310,
checked in by julien1311, 11 years ago
|
version auto
|
-
Property svn:eol-style set to
LF
|
File size:
744 bytes
|
Rev | Line | |
---|
[19285] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Plugin Name: pdf2tab |
---|
[19310] | 4 | Version: auto |
---|
[19285] | 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_DIR' , basename(dirname(__FILE__))); |
---|
[19287] | 14 | define('PDF2TAB_PATH' , PHPWG_PLUGINS_PATH.PDF2TAB_DIR.'/'); |
---|
[19285] | 15 | |
---|
| 16 | /* +-----------------------------------------------------------------------+ |
---|
| 17 | * | Plugin code | |
---|
| 18 | * +-----------------------------------------------------------------------+ */ |
---|
| 19 | |
---|
[19287] | 20 | include_once(PDF2TAB_PATH.'thumbnails.php'); |
---|
| 21 | include_once(PDF2TAB_PATH.'picture.php'); |
---|
[19285] | 22 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.