diff --git a/ext/statsd/main.php b/ext/statsd/main.php index 2cb3500a..5267495f 100644 --- a/ext/statsd/main.php +++ b/ext/statsd/main.php @@ -50,6 +50,9 @@ class StatsDInterface extends Extension { else if($event->page_matches("rss")) { $this->_stats("rss"); } + else if($event->page_matches("api")) { + $this->_stats("api"); + } else { #global $_shm_load_start; #$time = microtime(true) - $_shm_load_start;