Last change
on this file since 32180 was
10786,
checked in by ddtddt, 14 years ago
|
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
489 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: ID_switch |
---|
4 | Version: auto |
---|
5 | Description: Inverts the IDs of 2 Photos |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=532 |
---|
7 | Author: ddtddt |
---|
8 | Author URI: |
---|
9 | */ |
---|
10 | |
---|
11 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
12 | |
---|
13 | global $prefixeTable; |
---|
14 | |
---|
15 | define('IDS_DIR' , basename(dirname(__FILE__))); |
---|
16 | define('IDS_PATH' , PHPWG_PLUGINS_PATH . IDS_DIR . '/'); |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | // Plugin for admin |
---|
21 | if (script_basename() == 'admin') |
---|
22 | { |
---|
23 | include_once(dirname(__FILE__).'/initadmin.php'); |
---|
24 | } |
---|
25 | |
---|
26 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.