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