3 define('INSTALLDIR', dirname(__FILE__));
5 require_once(INSTALLDIR . "/common.php");
7 $action = $_REQUEST['action'];
8 $actionfile = INSTALLDIR."/actions/$action.php";
10 if (file_exists($actionfile)) {
11 require_once($actionfile);
12 $action_class = ucfirst($action) . "Action";
13 if (function_exists($action_function)) {
14 call_user_func($action_function);