mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/14542] Move cron to controller
PHPBB3-14542
This commit is contained in:
3
phpBB/config/default/routing/cron.yml
Normal file
3
phpBB/config/default/routing/cron.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
phpbb_cron_run:
|
||||
path: /{cron_type}
|
||||
defaults: { _controller: cron.controller:handle }
|
@@ -8,6 +8,10 @@
|
||||
# instantiate the 'foo_service' service and call the 'method' method.
|
||||
#
|
||||
|
||||
phpbb_cron_routing:
|
||||
resource: cron.yml
|
||||
prefix: /cron
|
||||
|
||||
phpbb_feed_routing:
|
||||
resource: feed.yml
|
||||
prefix: /feed
|
||||
|
Reference in New Issue
Block a user