OSDN Git Service

fixed url
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / libs / ACTION.php
index 1d5cadd..6d76112 100755 (executable)
@@ -1,20 +1,23 @@
 <?php\r
 \r
+/*\r
+ * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
+ * Copyright (C) 2002-2005 The Nucleus Group\r
+ *\r
+ * This program is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License\r
+ * as published by the Free Software Foundation; either version 2\r
+ * of the License, or (at your option) any later version.\r
+ * (see nucleus/documentation/index.html#license for more info)\r
+ */\r
 /**\r
-  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) \r
-  * Copyright (C) 2002-2005 The Nucleus Group\r
-  *\r
-  * This program is free software; you can redistribute it and/or\r
-  * modify it under the terms of the GNU General Public License\r
-  * as published by the Free Software Foundation; either version 2\r
-  * of the License, or (at your option) any later version.\r
-  * (see nucleus/documentation/index.html#license for more info)\r
-  *\r
-  * Actions that can be called via action.php\r
-  *\r
-  * $Id: ACTION.php,v 1.2 2005-03-12 06:19:04 kimitake Exp $\r
-  * $NucleusJP$\r
-  */\r
+ * Actions that can be called via action.php\r
+ *\r
+ * @license http://nucleuscms.org/license.txt GNU General Public License\r
+ * @copyright Copyright (C) 2002-2005 The Nucleus Group\r
+ * @version $Id: ACTION.php,v 1.3 2005-08-13 07:30:01 kimitake Exp $\r
+ * $NucleusJP: ACTION.php,v 1.2 2005/03/12 06:19:04 kimitake Exp $\r
+ */\r
 class ACTION\r
 {\r
        function ACTION()\r
@@ -81,7 +84,7 @@ class ACTION
                        if (postVar('url')) {\r
                                redirect(postVar('url'));\r
                        } else {\r
-                               $url = $CONF['IndexURL'] . createItemLink($post['itemid']);\r
+                               $url = createItemLink($post['itemid']);\r
                                redirect($url);\r
                        }\r
                } else {\r