diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:14:21 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:14:21 +0200 |
commit | ccca699ba61bad35afea2bb6f7881d301ad05709 (patch) | |
tree | 168230ff4c4e54eaa8ce2c48873913dd49b802ff | |
parent | b0e09e9db4cef075491ef683d89390faa2e6b8c3 (diff) |
Fix some routes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/config/routes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/config/routes.php b/application/config/routes.php index 1accd7b95..10d752071 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -52,9 +52,9 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $route['default_controller'] = "main"; $route['user/(:any)'] = "user/$1"; $route['file/multipaste/(:any)'] = "file/multipaste/$1"; -$route['file/(:any)'] = "file/file_default/$1"; -$route['tools/(:any)'] = "tools/$1"; +$route['file/(.+)'] = "main/$1"; +$route['tools/(.+)'] = "tools/$1"; $route['api/(.+)'] = "api/route/$1"; -$route['(.+)'] = "file/file_default/index/$1"; +$route['(.+)'] = "main/index/$1"; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; |