OSDN Git Service

removed unnecessary Location: from redirect call
authorkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 13 Aug 2005 07:27:42 +0000 (07:27 +0000)
committerkimitake <kimitake@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 13 Aug 2005 07:27:42 +0000 (07:27 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@113 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/globalfunctions.php

index 3a8a522..a1e01bb 100755 (executable)
@@ -10,8 +10,8 @@
   * of the License, or (at your option) any later version.\r
   * (see nucleus/documentation/index.html#license for more info)\r
   *\r
-  * $Id: globalfunctions.php,v 1.5 2005-03-19 09:05:40 kimitake Exp $\r
-  * $NucleusJP: globalfunctions.php,v 1.4 2005/03/15 07:59:27 kimitake Exp $\r
+  * $Id: globalfunctions.php,v 1.6 2005-08-13 07:27:42 kimitake Exp $\r
+  * $NucleusJP: globalfunctions.php,v 1.5 2005/03/19 09:05:40 kimitake Exp $\r
   */\r
 \r
 // needed if we include globalfunctions from install.php\r
@@ -22,7 +22,7 @@ checkVars(array('nucleus', 'CONF', 'DIR_LIBS', 'MYSQL_HOST', 'MYSQL_USER', 'MYSQ
 \r
 $CONF['debug'] = 0;\r
 \r
-$nucleus['version'] = 'v3.2';\r
+$nucleus['version'] = 'v3.21';\r
 if (getNucleusPatchLevel() > 0)\r
 {\r
        $nucleus['version'] .= '/' . getNucleusPatchLevel();\r
@@ -49,7 +49,7 @@ $CONF['alertOnSecurityRisk'] = 1;
   * returns the currently used version (100 = 1.00, 101 = 1.01, etc...)\r
   */\r
 function getNucleusVersion() {\r
-       return 320;\r
+       return 321;\r
 }\r
 \r
 /**\r
@@ -575,7 +575,7 @@ function selector() {
                          else\r
                                 $correctURL .= '?itemid=' . $itemid;\r
 \r
-                         redirect('Location: ' . $correctURL);\r
+                         redirect($correctURL);\r
                          exit;\r
                   }\r
                   else doError(_ERROR_NOSUCHITEM);\r