Changeset 21608 for extensions/Subscribe_to_comments/main.inc.php
- Timestamp:
- Mar 16, 2013, 8:32:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/main.inc.php
r21441 r21608 9 9 */ 10 10 11 /*12 * potential problem : if the permissions of a user change, he receives notifications13 * about photos and albums he can't see anymore14 */15 16 11 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 17 12 … … 21 16 define('SUBSCRIBE_TO_PATH' , PHPWG_PLUGINS_PATH . SUBSCRIBE_TO_ID . '/'); 22 17 define('SUBSCRIBE_TO_TABLE', $prefixeTable . 'subscribe_to_comments'); 18 define('SUBSCRIBE_TO_ADMIN', get_root_url() . 'admin.php?page=plugin-' . SUBSCRIBE_TO_ID); 23 19 define('SUBSCRIBE_TO_VERSION', 'auto'); 24 20 … … 98 94 array_push($menu, array( 99 95 'NAME' => 'Subscribe to Comments', 100 'URL' => get_root_url().'admin.php?page=plugin-' . SUBSCRIBE_TO_ID,96 'URL' => SUBSCRIBE_TO_ADMIN, 101 97 )); 102 98 return $menu;
Note: See TracChangeset
for help on using the changeset viewer.