* like adding comments, etc...
* @license http://nucleuscms.org/license.txt GNU General Public License
* @copyright Copyright (C) 2002-2009 The Nucleus Group
- * @version $Id: action.php 1508 2011-04-12 17:48:33Z ftruscot $
+ * @version $Id: action.php 1888 2012-06-17 08:38:54Z sakamocchi $
*/
$CONF = array();
require('./config.php');
-
-// common functions
-//include_once($DIR_LIBS . 'ACTION.php');
-include_libs('ACTION.php',true,false);
+include_libs('ACTION.php');
$action = requestVar('action');
-$a = new ACTION();
+$a = new Action();
$errorInfo = $a->doAction($action);
-if ($errorInfo) {
- doError($errorInfo['message'], new SKIN($errorInfo['skinid']) );
+if ( $errorInfo )
+{
+ $skin =& $manager->getSkin($errorInfo['skinid']);
+ doError($errorInfo['message'], $skin);
}
-?>
\ No newline at end of file
+exit;
\ No newline at end of file