Last change
on this file since 20203 was
19811,
checked in by julien1311, 12 years ago
|
add an admin page to choose the extension to handle
|
-
Property svn:eol-style set to
LF
|
File size:
355 bytes
|
Rev | Line | |
---|
[19811] | 1 | <?php |
---|
| 2 | //Chech whether we are indeed included by Piwigo. |
---|
| 3 | if (!defined('PDF2TAB_PATH')) die('Hacking attempt!'); |
---|
| 4 | |
---|
| 5 | //Load globals |
---|
| 6 | global $conf; |
---|
| 7 | |
---|
| 8 | //Load translation files |
---|
| 9 | load_language('plugin.lang', PDF2TAB_PATH); |
---|
| 10 | |
---|
| 11 | //Check access and exit when user status is not ok |
---|
| 12 | check_status(ACCESS_ADMINISTRATOR); |
---|
| 13 | |
---|
| 14 | include_once(PDF2TAB_PATH.'admin/admin_config.php'); |
---|
| 15 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.