source: extensions/AddUsersNotes/main.inc.php @ 24538

Last change on this file since 24538 was 12447, checked in by ddtddt, 13 years ago

[extensions] - AddUsersNotes - First commit

File size: 576 bytes
Line 
1<?php
2/*
3Plugin Name: Add Users Notes
4Version: auto
5Description: Adds admin notes to users profiles
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=580
7Author: ddtddt
8Author URI:
9*/
10
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12
13global $prefixeTable;
14
15define('USERNOTES_DIR' , basename(dirname(__FILE__)));
16define('USERNOTES_PATH' , PHPWG_PLUGINS_PATH . USERNOTES_DIR . '/');
17define('USERNOTES_TABLE' , $prefixeTable . 'user_notes');
18
19  // Plugin for admin
20if (script_basename() == 'admin')   
21{
22  include_once(dirname(__FILE__).'/initadmin.php');
23}
24
25?>
Note: See TracBrowser for help on using the repository browser.