Update of /cvsroot/phpwebsite-comm/modules/mailto/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6730/mailto/boost
Modified Files:
install.php
Log Message:
Fixed problems with email validation. Some typos.
Index: install.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/mailto/boost/install.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** install.php 26 Mar 2004 18:56:49 -0000 1.1.1.1
--- install.php 2 Apr 2004 02:28:48 -0000 1.2
***************
*** 21,36 ****
/* Register with core search module */
! $search['module'] = "mailto";
! $search['search_class'] = "PHPWS_MailtoManager";
! $search['search_function'] = "search";
! $search['search_cols'] = "none";
! $search['view_string'] = "none";
! $search['show_block'] = 0;
!
! if(!$GLOBALS["core"]->sqlInsert($search, "mod_search_register")) {
! $content .= "Database problem when attempting to register with Search module.<br /><br />";
! } else {
! $content .= "Successfully registered with Search module!<br /><br />";
! }
$status = 1;
--- 21,26 ----
/* Register with core search module */
! require_once(PHPWS_SOURCE_DIR.'mod/search/class/Search.php');
! PHPWS_Search::register("mailto");
$status = 1;
|