Changeset 9908 for extensions/UserAdvManager/trunk/main.inc.php
- Timestamp:
- Mar 28, 2011, 10:49:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/main.inc.php
r9853 r9908 19 19 if (!defined('UAM_PATH')) define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 20 20 21 global $conf; 22 21 23 include_once (UAM_PATH.'include/constants.php'); 22 24 include_once (UAM_PATH.'include/functions.inc.php'); 23 25 24 26 load_language('plugin.lang', UAM_PATH); 27 $conf_UAM = unserialize($conf['UserAdvManager']); 25 28 26 29 … … 56 59 // Comment without author 57 60 add_event_handler('user_comment_check', 'UAM_CheckEmptyCommentAuthor', 50, 2); 61 62 // PWG_Stuffs module 63 if ((isset($conf_UAM[34]) and $conf_UAM[34] == 'true')) 64 { 65 add_event_handler('get_stuffs_modules', 'register_UAM_stuffs_module'); 66 } 58 67 ?>
Note: See TracChangeset
for help on using the changeset viewer.