OSDN Git Service

bug (lacking default value when DB restore) fix
[nucleus-jp/nucleus-jp-ancient.git] / euc / action.php
1 <?php\r
2 /** \r
3   * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) \r
4   * Copyright (C) 2002-2005 The Nucleus Group\r
5   *\r
6   * This program is free software; you can redistribute it and/or\r
7   * modify it under the terms of the GNU General Public License\r
8   * as published by the Free Software Foundation; either version 2\r
9   * of the License, or (at your option) any later version.\r
10   * (see nucleus/documentation/index.html#license for more info)  \r
11   *\r
12   * File containing actions that can be performed by visitors of the site,\r
13   * like adding comments, etc...\r
14   *\r
15   * $Id: action.php,v 1.4 2005-03-16 07:59:48 kimitake Exp $\r
16   */\r
17 \r
18 $CONF = array();\r
19 include('./config.php');                        // common functions\r
20 include_once($DIR_LIBS . 'ACTION.php');\r
21 \r
22 $action = requestVar('action');\r
23 \r
24 $a =& new ACTION();\r
25 $errorInfo = $a->doAction($action);\r
26 \r
27 if ($errorInfo)\r
28 {\r
29         doError($errorInfo['message'], new SKIN($errorInfo['skinid'])); \r
30 }\r
31 \r
32 ?>