From d0ef17169701f90a9dab5f50e3eb61954653cae2 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 29 Nov 2018 01:53:17 +0100 Subject: font upload --- app/class/routes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/class/routes.php') diff --git a/app/class/routes.php b/app/class/routes.php index e5175aa..5edfa81 100644 --- a/app/class/routes.php +++ b/app/class/routes.php @@ -14,12 +14,13 @@ class Routes } $router->addMatchTypes(array('cid' => '[a-zA-Z0-9-_+,\'!%@&.$€=\(\|\)]+')); $router->addRoutes([ - ['GET|POST', '/', 'Backrouter#run', 'backrouter'], + ['GET|POST', '/', 'Controllerhome#desktop', 'home'], ['POST', '/!co', 'Controllerconnect#log', 'log'], ['GET', '/!co', 'Controllerconnect#connect', 'connect'], ['GET', '/!m', 'Controllermedia#desktop', 'media'], ['GET', '/!font', 'Controllerfont#desktop', 'font'], ['GET', '/!font/render', 'Controllerfont#render', 'fontrender'], + ['POST', '/!font/add', 'Controllerfont#add', 'fontadd'], ['GET', '/[cid:art]/', 'Controllerart#read', 'artread/'], ['GET', '/[cid:art]', 'Controllerart#read', 'artread'], ['GET', '/[cid:art]/add', 'Controllerart#add', 'artadd'], -- cgit v1.2.3