Very ugly hack to add rudimentary error check to SMTP for invalid/unsupported auth...
[squirrelmail.git] / src / addrbook_search_html.php
index f6c28fe75bb2355ee6ef59a73a3e7650ea318c0d..3edaac79f2539bd2d1dd5f7ad598df4b535840bc 100644 (file)
@@ -3,27 +3,24 @@
 /**
  * addrbook_search_html.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Handle addressbook searching with pure html.
  *
  * This file is included from compose.php
  *
- * NOTE: A lot of this code is similar to the code in
- *       addrbook_search.html -- If you change one, change
- *       the other one too!
- *
  * $Id$
  */
 
 /* Path for SquirrelMail required files. */
-define('SM_PATH','../');
+if (! defined('SM_PATH') ) {
+       define('SM_PATH','../');
+}
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
 require_once(SM_PATH . 'functions/date.php');
-require_once(SM_PATH . 'functions/smtp.php');
 require_once(SM_PATH . 'functions/display_messages.php');
 require_once(SM_PATH . 'functions/addressbook.php');
 require_once(SM_PATH . 'functions/plugin.php');