source: extensions/ID_switch/main.inc.php @ 25973

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