X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=action.php;h=6cbe25ed2b1952df2e9b5d64f3c2750b6b18cb50;hb=b69091060791f899fe6ed8d0a117ee4f9dd68697;hp=8c9cbff0d70622fcd972adfdea5f650552c8f82a;hpb=45cece9a52c73db40ca4ba37cc55ce63cc79a491;p=nucleus-jp%2Fnucleus-next.git diff --git a/action.php b/action.php index 8c9cbff..6cbe25e 100644 --- a/action.php +++ b/action.php @@ -15,12 +15,12 @@ * 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 1721 2012-03-31 10:18:25Z sakamocchi $ */ $CONF = array(); require('./config.php'); -include_libs('ACTION.php',true,false); +include_libs('ACTION.php'); $action = requestVar('action'); $a = new Action(); @@ -28,5 +28,8 @@ $errorInfo = $a->doAction($action); if ( $errorInfo ) { - doError($errorInfo['message'], new SKIN($errorInfo['skinid']) ); + $skin =& $manager->getSkin($errorInfo['skinid']); + doError($errorInfo['message'], $skin); } + +exit; \ No newline at end of file