summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-23 15:28:50 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-23 15:28:58 +0100
commit4dc780ea2081e2744db32400c4c00f5e85f1898a (patch)
tree94ce2a1f30cc4624a33c8c10f56aefd689fd7e03 /appinfo
parent4f252777014a7fb42d7194dd250e40e40036589a (diff)
rename sites file and move to subdirectory
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/application.php2
-rw-r--r--appinfo/routes.php2
2 files changed, 2 insertions, 2 deletions
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'],