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

Revision 12447, 576 bytes checked in by ddtddt, 8 years ago (diff)

[extensions] - AddUsersNotes - First commit

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.