OSDN Git Service

changed to binary
[nucleus-jp/nucleus-jp-ancient.git] / euc / action.php
1 <?php
2 /** 
3   * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) 
4   * Copyright (C) 2002-2005 The Nucleus Group
5   *
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)  
11   *
12   * File containing actions that can be performed by visitors of the site,
13   * like adding comments, etc...
14   *
15   * $Id: action.php,v 1.5 2007-03-22 08:07:09 kimitake Exp $
16   */
17
18 $CONF = array();
19 include('./config.php');                        // common functions
20 include_once($DIR_LIBS . 'ACTION.php');
21
22 $action = requestVar('action');
23
24 $a =& new ACTION();
25 $errorInfo = $a->doAction($action);
26
27 if ($errorInfo)
28 {
29         doError($errorInfo['message'], new SKIN($errorInfo['skinid'])); 
30 }
31
32 ?>