diff options
Diffstat (limited to 'ratatoeskr/sys/plugin_api.php')
-rw-r--r-- | ratatoeskr/sys/plugin_api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/sys/plugin_api.php b/ratatoeskr/sys/plugin_api.php index 65b43e2..18e129b 100644 --- a/ratatoeskr/sys/plugin_api.php +++ b/ratatoeskr/sys/plugin_api.php @@ -35,7 +35,7 @@ $url_handlers = []; /* master URL handler */ * $name - The name of the new URL * $callback - The Function to be called (see <url_process>). */ -function register_url_handler($name, $callback) +function register_url_handler($name, callable $callback) { global $url_handlers; $url_handlers[$name] = $callback; |