Part 1 of switch to use of SM_PATH with require_once.
[squirrelmail.git] / src / addrbook_popup.php
index b5e3ed411f356758a418f4a3639ba02071ab8010..c45976272589b13a675b5052af320fd8a5484fff 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * addrbook_popup.php
  *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Frameset for the JavaScript version of the address book.
  * $Id$
  */
 
-require_once('../src/validate.php');
-require_once('../functions/addressbook.php');
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../');
+
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'src/validate.php');
+require_once(SM_PATH . 'functions/addressbook.php');
    
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">