diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-08-20 06:15:09 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-08-20 06:15:09 +0300 |
commit | bf975c68fd588672f6f8831659dc2f0dfe34a393 (patch) | |
tree | 8ddbf137dbae914f2403995f7c48617a8d372f22 /index.php | |
parent | 5a83fd36b9db9d1e34dbcbad053a25b4fb2123be (diff) |
Use the router for prefs_manage.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -126,6 +126,9 @@ if (isset($_GET['route']) || isset($_POST['route'])) { $routes->addRoute(['GET', 'POST'], '/forms', function () { require_once ROOT_PATH . 'libraries/entry_points/preferences/forms.php'; }); + $routes->addRoute(['GET', 'POST'], '/manage', function () { + require_once ROOT_PATH . 'libraries/entry_points/preferences/manage.php'; + }); }); $routes->addGroup('/server', function (RouteCollector $routes) { $routes->addRoute(['GET', 'POST'], '/binlog', function () { |