documenting functions and adding some sq_mb_list_encodings updates
[squirrelmail.git] / functions / global.php
index 898d8369882582625503df531d0da29191a806ae..af6975319c68195e0f561debecd159bcd8d80844 100644 (file)
@@ -14,8 +14,6 @@
  * @package squirrelmail
  */
 
-/** Bring in the config file. */
-require_once(SM_PATH . 'config/config.php');
 
 /** set the name of the session cookie */
 if(isset($session_name) && $session_name) {
@@ -237,8 +235,7 @@ function sqgetGlobalVar($name, &$value, $search = SQ_INORDER) {
         }
         break;
     }
-    /* Nothing found, reset $value and return FALSE */
-    $value = null;
+    /* Nothing found, return FALSE */
     return FALSE;
 }
 
@@ -289,4 +286,4 @@ function sqsession_is_active() {
 }
 
 // vim: et ts=4
-?>
+?>
\ No newline at end of file