source: extensions/ID_swicht/main.inc.php @ 10591

Last change on this file since 10591 was 10591, checked in by ddtddt, 10 years ago

[extensions] - ID_swicht - First release

  • 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_swicht
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.