Changeset 6672 for extensions/rv_akismet/main.inc.php
- Timestamp:
- Jul 7, 2010, 7:53:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_akismet/main.inc.php
r6506 r6672 7 7 Author URI: http://www.modusoptimus.com 8 8 */ 9 10 define('AKIS_DIR' , basename(dirname(__FILE__))); 11 define('AKIS_PATH' , PHPWG_PLUGINS_PATH . AKIS_DIR . '/'); 9 12 10 13 add_event_handler('user_comment_check', 'akismet_user_comment_check_wrapper', EVENT_HANDLER_PRIORITY_NEUTRAL+10, 2); … … 17 20 if ( empty($conf['akismet_api_key']) and in_array($page['page'], array('intro','plugins_list')) ) 18 21 { 19 $page['errors'][] = 'You need to define the Akismet api key'; 22 load_language('plugin.lang', AKIS_PATH); 23 $page['errors'][] = l10n('You need to define the Akismet api key'); 20 24 } 21 25 $admin_url = get_admin_plugin_menu_link(dirname(__FILE__).'/admin.php');
Note: See TracChangeset
for help on using the changeset viewer.