From 4dc780ea2081e2744db32400c4c00f5e85f1898a Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 23 Jan 2016 15:28:50 +0100 Subject: rename sites file and move to subdirectory --- appinfo/application.php | 2 +- appinfo/routes.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'appinfo') diff --git a/appinfo/application.php b/appinfo/application.php index 145422c56..cfd9ef563 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -49,7 +49,7 @@ class Application extends App { $this->registerFileContents('info', 'info.xml'); // parameters - $this->registerParameter('exploreDir', __DIR__ . '/../explore'); + $this->registerParameter('exploreDir', __DIR__ . '/../explore/feeds'); $this->registerParameter('configFile', 'config.ini'); // factories diff --git a/appinfo/routes.php b/appinfo/routes.php index e3e61cb8d..33c333dd0 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -17,7 +17,7 @@ return ['routes' => [ ['name' => 'page#settings', 'url' => '/settings', 'verb' => 'GET'], ['name' => 'page#update_settings', 'url' => '/settings', 'verb' => 'PUT'], ['name' => 'page#manifest', 'url' => '/manifest.webapp', 'verb' => 'GET'], -['name' => 'page#explore', 'url' => '/explore/sites.{lang}.json', 'verb' => 'GET'], +['name' => 'page#explore', 'url' => '/explore/feeds.{lang}.json', 'verb' => 'GET'], // admin ['name' => 'admin#update', 'url' => '/admin', 'verb' => 'PUT'], -- cgit v1.2.3