diff --git a/boot.php b/boot.php index 0fdc2f8..a5849f8 100644 --- a/boot.php +++ b/boot.php @@ -11,6 +11,7 @@ use rex_extension; use rex_extension_point; use rex_plugin; +use rex_api_function; use rex_url; use rex_yform_manager_dataset; use rex_yform_manager_table; @@ -49,6 +50,8 @@ }); } +rex_api_function::register('neues_rss', neues_rss_api::class); + if (rex_plugin::get('yform', 'rest')->isAvailable() && !rex::isSafeMode()) { /* YForm Rest API */ $rex_neues_entry_route = new rex_yform_rest_route( diff --git a/lib/rex_api_neues_rss.php b/lib/neues_rss_api.php similarity index 89% rename from lib/rex_api_neues_rss.php rename to lib/neues_rss_api.php index d486a12..1820f4d 100644 --- a/lib/rex_api_neues_rss.php +++ b/lib/neues_rss_api.php @@ -1,19 +1,18 @@ '); diff --git a/package.yml b/package.yml index 4707901..c69c431 100644 --- a/package.yml +++ b/package.yml @@ -6,8 +6,11 @@ load: late requires: php: - version: '>8.1,<9' - redaxo: ^5.15 + + version: '>7.3,<9' + redaxo: ^5.17 + + packages: yform: '^4' yform_field: '^2.3.0'