Index: run_event.php =================================================================== --- run_event.php (revision 0) +++ run_event.php (revision 0) @@ -0,0 +1,50 @@ +Init(); + +$application->StoreVar('user_id', USER_ROOT, true); +$application->HandleEvent($ev, $argv[1]); // event name in form "prefix[.special]:event_name" + +$application->Done(); + +$end = getmicrotime(); + +function getmicrotime() +{ + list($usec, $sec) = explode(" ", microtime()); + return ((float)$usec + (float)$sec); +} \ No newline at end of file