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