aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-27 19:29:43 +0100
committerGitHub <noreply@github.com>2020-10-27 19:29:43 +0100
commite6215a2ad97182efcf88ef532ec6bd65ae35fd19 (patch)
tree33a1619091366c8a0cf0c772ba644a75ce61764f /index.php
parent034c1ce5269956ec43448f9fd2959e094c861004 (diff)
parent0cf76ccb4736473a958d9fd36ed914e2d25d594a (diff)
downloadShaarli-e6215a2ad97182efcf88ef532ec6bd65ae35fd19.tar.gz
Shaarli-e6215a2ad97182efcf88ef532ec6bd65ae35fd19.tar.zst
Shaarli-e6215a2ad97182efcf88ef532ec6bd65ae35fd19.zip
Merge pull request #1604 from ArthurHoaro/feature/server-admin-page
Feature: add a Server administration page
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 1b10ee41..a46e32c9 100644
--- a/index.php
+++ b/index.php
@@ -143,6 +143,8 @@ $app->group('/admin', function () {
143 $this->get('/plugins', '\Shaarli\Front\Controller\Admin\PluginsController:index'); 143 $this->get('/plugins', '\Shaarli\Front\Controller\Admin\PluginsController:index');
144 $this->post('/plugins', '\Shaarli\Front\Controller\Admin\PluginsController:save'); 144 $this->post('/plugins', '\Shaarli\Front\Controller\Admin\PluginsController:save');
145 $this->get('/token', '\Shaarli\Front\Controller\Admin\TokenController:getToken'); 145 $this->get('/token', '\Shaarli\Front\Controller\Admin\TokenController:getToken');
146 $this->get('/server', '\Shaarli\Front\Controller\Admin\ServerController:index');
147 $this->get('/clear-cache', '\Shaarli\Front\Controller\Admin\ServerController:clearCache');
146 $this->get('/thumbnails', '\Shaarli\Front\Controller\Admin\ThumbnailsController:index'); 148 $this->get('/thumbnails', '\Shaarli\Front\Controller\Admin\ThumbnailsController:index');
147 $this->get('/metadata', '\Shaarli\Front\Controller\Admin\MetadataController:ajaxRetrieveTitle'); 149 $this->get('/metadata', '\Shaarli\Front\Controller\Admin\MetadataController:ajaxRetrieveTitle');
148 $this->get('/visibility/{visibility}', '\Shaarli\Front\Controller\Admin\SessionFilterController:visibility'); 150 $this->get('/visibility/{visibility}', '\Shaarli\Front\Controller\Admin\SessionFilterController:visibility');