3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
4 * Copyright (C) 2002-2004 The Nucleus Group
\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
12 * File containing actions that can be performed by visitors of the site,
\r
13 * like adding comments, etc...
\r
15 * $Id: action.php,v 1.1 2005-02-28 07:13:48 kimitake Exp $
\r
19 include('./config.php'); // common functions
\r
20 include_once($DIR_LIBS . 'ACTION.php');
\r
22 $action = requestVar('action');
\r
25 $errorInfo = $a->doAction($action);
\r
29 doError($errorInfo['message'], new SKIN($errorInfo['skinid']));
\r