Location: PHPKode > projects > Pligg > pligg/modules/welcome_privmsg/welcome_privmsg_init.php
<?php
if(defined('mnminclude')){
	include_once('welcome_privmsg_settings.php');
	
	// tell pligg what pages this modules should be included in
	// pages are <script name> minus .php
	// index.php becomes 'index' and upcoming.php becomes 'upcoming'
	$include_in_pages = array('register');
	$do_not_include_in_pages = array();
		
	if( do_we_load_module() ) {		
	
		module_add_action('register_success_pre_redirect', 'welcome_privmsg_send', '');
	
		include_once(mnmmodules . 'welcome_privmsg/welcome_privmsg_main.php');
	}
}	
?>
Return current item: Pligg