OSDN Git Service

コピーライト表示部分の年度変更
[nucleus-jp/nucleus-next.git] / action.php
1 <?php\r
2 /*\r
3  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
4  * Copyright (C) 2002-2012 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 \r
13 /**\r
14  * File containing actions that can be performed by visitors of the site,\r
15  * like adding comments, etc...\r
16  * @license http://nucleuscms.org/license.txt GNU General Public License\r
17  * @copyright Copyright (C) 2002-2012 The Nucleus Group\r
18  * @version $Id: action.php 1508 2011-04-12 17:48:33Z ftruscot $\r
19  */\r
20 \r
21 $CONF = array();\r
22 require('./config.php');\r
23 include_libs('ACTION.php',true,false);\r
24 \r
25 $action = requestVar('action');\r
26 $a = new Action();\r
27 $errorInfo = $a->doAction($action);\r
28 \r
29 if ( $errorInfo )\r
30 {\r
31         doError($errorInfo['message'], new SKIN($errorInfo['skinid']) );\r
32 }\r