More code cleanups
[squirrelmail.git] / functions / date.php
index 8a1e551b98b5dd4bcc6e7280e9f92b41e839c4e2..f38deda1bd2006eb0e769ec6bffbca62eec7949c 100644 (file)
@@ -14,7 +14,7 @@
  * $Id$
  */
 
-require_once( '../functions/constants.php' );
+require_once(SM_PATH . 'functions/constants.php');
 
 /* corrects a time stamp to be the local time */
 function getGMTSeconds($stamp, $gmt) {
@@ -68,7 +68,6 @@ function getGMTSeconds($stamp, $gmt) {
         case 'KST':
             $gmt = '+0900';     
             break;
-            break;
     }
     
     if (substr($gmt, 0, 1) == '-') {