squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

sqspell_interface.php
Go to the documentation of this file.
1 <?php
23 define('SM_PATH','../../');
24 
25 /* SquirrelMail required files. */
26 require_once(SM_PATH . 'include/validate.php');
27 require_once(SM_PATH . 'include/load_prefs.php');
28 
34 $SQSPELL_DIR='plugins/squirrelspell/';
36 
37 require_once(SM_PATH . $SQSPELL_DIR . 'sqspell_config.php');
38 require_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php');
39 
45 if(isset($_POST['MOD'])) {
46  $MOD = $_POST['MOD'];
47 } elseif (isset($_GET['MOD'])) {
48  $MOD = $_GET['MOD'];
49 }
50 
51 if (!isset($MOD) || !$MOD){
52  $MOD='init';
53 } else {
54  sqspell_ckMOD($MOD);
55 }
56 
57 /* Include the module. */
58 require_once(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod");
59 
60 ?>
elseif
if(! sqgetGlobalVar('sound', $sound, SQ_GET)) elseif($sound=='(none)')
Definition: testsound.php:25
sqspell_ckMOD
sqspell_ckMOD($rMOD)
Definition: sqspell_functions.php:511
$SQSPELL_CRYPTO
$SQSPELL_CRYPTO
Definition: sqspell_interface.php:35
$SQSPELL_DIR
$SQSPELL_DIR
Definition: sqspell_interface.php:34
SM_PATH
const SM_PATH
Definition: sqspell_interface.php:23