Last change
on this file since 24491 was
22073,
checked in by ddtddt, 12 years ago
|
[extensions] - change_who_added_photo - First release
|
File size:
577 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Change who added photo |
---|
4 | Version: auto |
---|
5 | Description: Change who added photo through Administration -> Photos -> 'Batch Manager' |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=692 |
---|
7 | Author: ddtddt |
---|
8 | Author URI: http://piwigo.org/ |
---|
9 | */ |
---|
10 | |
---|
11 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
12 | |
---|
13 | global $prefixeTable, $template; |
---|
14 | |
---|
15 | define('CWAP_DIR' , basename(dirname(__FILE__))); |
---|
16 | define('CWAP_PATH' , PHPWG_PLUGINS_PATH . CWAP_DIR . '/'); |
---|
17 | |
---|
18 | // Plugin for admin |
---|
19 | if (script_basename() == 'admin') |
---|
20 | { |
---|
21 | include_once(dirname(__FILE__).'/initadmin.php'); |
---|
22 | } |
---|
23 | |
---|
24 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.