Browse Source

路由重写

dev
xiaoz 5 years ago
parent
commit
e2ad3acff4
  1. 1
      application/config/routes.php

1
application/config/routes.php

@ -52,3 +52,4 @@ defined('BASEPATH') OR exit('No direct script access allowed'); @@ -52,3 +52,4 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$route['default_controller'] = 'home';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
$route['api/upload'] = 'upload/localhost';

Loading…
Cancel
Save