source: extensions/change_who_added_photo/main.inc.php @ 31991

Revision 31443, 2.0 KB checked in by ddtddt, 4 years ago (diff)

[extensions] - change_who_added_photo

Line 
1<?php
2/*
3Plugin Name: Change who added photo
4Version: auto
5Description: Change who added photo through Administration -> Photos -> 'Batch Manager'
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=692
7Author: ddtddt
8Author URI: http://temmii.com/piwigo/
9*/
10// +-----------------------------------------------------------------------+
11// | Change who added photo plugin for piwigo                              |
12// +-----------------------------------------------------------------------+
13// | Copyright(C) 2013-2016 ddtddt               http://temmii.com/piwigo/ |
14// +-----------------------------------------------------------------------+
15// | This program is free software; you can redistribute it and/or modify  |
16// | it under the terms of the GNU General Public License as published by  |
17// | the Free Software Foundation                                          |
18// |                                                                       |
19// | This program is distributed in the hope that it will be useful, but   |
20// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
21// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
22// | General Public License for more details.                              |
23// |                                                                       |
24// | You should have received a copy of the GNU General Public License     |
25// | along with this program; if not, write to the Free Software           |
26// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
27// | USA.                                                                  |
28// +-----------------------------------------------------------------------+
29
30
31if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
32
33global $prefixeTable, $template;
34
35define('CWAP_DIR' , basename(dirname(__FILE__)));
36define('CWAP_PATH' , PHPWG_PLUGINS_PATH . CWAP_DIR . '/');
37
38// Plugin for admin
39if (script_basename() == 'admin')   
40{
41  include_once(dirname(__FILE__).'/initadmin.php');
42}
43
44?>
Note: See TracBrowser for help on using the repository browser.