summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/config/routes.php6
-rw-r--r--application/controllers/file/file_default.php (renamed from application/controllers/file.php)2
2 files changed, 4 insertions, 4 deletions
diff --git a/application/config/routes.php b/application/config/routes.php
index 23c9bebee..9583ff37c 100644
--- a/application/config/routes.php
+++ b/application/config/routes.php
@@ -38,12 +38,12 @@
|
*/
-$route['default_controller'] = "file";
+$route['default_controller'] = "file/file_default";
$route['user/(:any)'] = "user/$1";
-$route['file/(:any)'] = "file/$1";
+$route['file/(:any)'] = "file/file_default/$1";
$route['tools/(:any)'] = "tools/$1";
$route['api/(:any)'] = "api/route/$1";
-$route['(:any)'] = "file/index/$1";
+$route['(:any)'] = "file/file_default/index/$1";
$route['404_override'] = '';
diff --git a/application/controllers/file.php b/application/controllers/file/file_default.php
index 7c7b5de2d..8d1f67636 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file/file_default.php
@@ -7,7 +7,7 @@
*
*/
-class File extends MY_Controller {
+class File_default extends MY_Controller {
function __construct()
{