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

Last change on this file since 31947 was 10786, checked in by ddtddt, 13 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/*
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.