OSDN Git Service

FIX:Strict Standards: Only variables should be passed by reference in
[nucleus-jp/nucleus-next.git] / action.php
index 6363426..56d18a8 100644 (file)
  * 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');
-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']) );
+       $skin =& $manager->getSkin($errorInfo['skinid']);
+       doError($errorInfo['message'], $skin);
 }
+
+exit;
\ No newline at end of file