summaryrefslogtreecommitdiffstats
path: root/application/config/routes.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-09-09 16:08:00 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-09-09 16:08:00 +0200
commit19f0aab3221dd7760387cbec745c1eca9b215af7 (patch)
treed2d166a68ee322087a793fa712498e03ac58ebfe /application/config/routes.php
parent27639d64d06b62f237bbde253c46cd28fdce8884 (diff)
WIP: CI3 migration
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config/routes.php')
-rw-r--r--application/config/routes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/config/routes.php b/application/config/routes.php
index 896d9d63f..1accd7b95 100644
--- a/application/config/routes.php
+++ b/application/config/routes.php
@@ -49,12 +49,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
-$route['default_controller'] = "file/file_default";
+$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['api/(:any)'] = "api/route/$1";
-$route['(:any)'] = "file/file_default/index/$1";
+$route['api/(.+)'] = "api/route/$1";
+$route['(.+)'] = "file/file_default/index/$1";
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;