3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
4 * Copyright (C) 2002-2009 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
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-2009 The Nucleus Group
\r
18 * @version $Id: action.php 1721 2012-03-31 10:18:25Z sakamocchi $
\r
22 require('./config.php');
\r
23 include_libs('ACTION.php');
\r
25 $action = requestVar('action');
\r
27 $errorInfo = $a->doAction($action);
\r
31 $skin = new SKIN($errorInfo['skinid']);
\r
32 doError($errorInfo['message'], $skin);
\r