5 * Main wrapper for the options interface.
7 * Copyright (c) 1999-2002 The SquirrelMail development team
8 * Licensed under the GNU GPL. For full terms see the file COPYING.
12 * @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
17 * Set a couple of constants and defaults. Don't change these,
18 * the configurable stuff is in sqspell_config.php
20 $SQSPELL_DIR='squirrelspell';
21 $SQSPELL_CRYPTO=FALSE;
24 * Load some necessary stuff from squirrelmail.
27 require_once('../src/validate.php');
28 require_once('../src/load_prefs.php');
29 require_once('../functions/strings.php');
30 require_once('../functions/page_header.php');
31 require_once("$SQSPELL_DIR/sqspell_config.php");
32 require_once("$SQSPELL_DIR/sqspell_functions.php");
35 * $MOD is the name of the module to invoke.
36 * If $MOD is unspecified, assign "init" to it. Else check for
37 * security breach attempts.
39 if (!isset($MOD) ||
!$MOD){
40 $MOD = 'options_main';
46 * Load the stuff already.
48 require_once("$SQSPELL_DIR/modules/$MOD.mod");