4 ** sqspell_options.php -- Main wrapper for the options interface.
6 ** Copyright (c) 1999-2002 The SquirrelMail development team
7 ** Licensed under the GNU GPL. For full terms see the file COPYING.
15 ** Set a couple of constants. Don't change these, the setuppable stuff is
16 ** in sqspell_config.php
18 $SQSPELL_DIR='squirrelspell';
19 $SQSPELL_CRYPTO=FALSE;
21 /* Load some necessary stuff. */
23 require_once('../src/validate.php');
24 require_once('../src/load_prefs.php');
25 require_once('../functions/strings.php');
26 require_once('../functions/page_header.php');
27 require_once("$SQSPELL_DIR/sqspell_config.php");
28 require_once("$SQSPELL_DIR/sqspell_functions.php");
30 /* Access the module needed */
32 $MOD = 'options_main';
35 ** see if someone is attempting to be nasty by trying to get out of the
36 ** modules directory, although it probably wouldn't do them any good,
37 ** since every module has to end with .mod.php. Still, they deserve
40 if (strstr($MOD, ".") ||
strstr($MOD, "/") ||
strstr($MOD, "%")){
41 echo _("SECURITY BREACH ON DECK 5! CMDR TUVOK AND SECURITY TEAM REQUESTED.");
44 /* load the stuff already. */
45 require_once("$SQSPELL_DIR/modules/$MOD.mod.php");