X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_identities.php;h=026ae1f1a56c37dc50034f9c4581b81b353a7b20;hb=284a0d8a7f0396b04cb9ba956a6117cad862a5c5;hp=f836e442b83fe7ad5cc6a99958d313b922bbe206;hpb=bb51bc8be7114934374323be9d6f8b7f2aa9f00b;p=squirrelmail.git diff --git a/src/options_identities.php b/src/options_identities.php index f836e442..026ae1f1 100644 --- a/src/options_identities.php +++ b/src/options_identities.php @@ -3,11 +3,10 @@ /** * options_identities.php * - * Copyright (c) 1999-2005 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * Display Identities Options * + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail * @subpackage prefs @@ -15,17 +14,12 @@ */ /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../'); +require('../include/init.php'); /* SquirrelMail required files. */ -require_once(SM_PATH . 'include/validate.php'); -include_once(SM_PATH . 'functions/global.php'); -include_once(SM_PATH . 'functions/display_messages.php'); -include_once(SM_PATH . 'functions/html.php'); -include_once(SM_PATH . 'functions/identity.php'); +require_once(SM_PATH . 'functions/identity.php'); if (!sqgetGlobalVar('identities', $identities, SQ_SESSION)) { $identities = get_identities();