OSDN Git Service

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