Browse Source

路由重写

dev
xiaoz 6 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');
$route['default_controller'] = 'home'; $route['default_controller'] = 'home';
$route['404_override'] = ''; $route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE; $route['translate_uri_dashes'] = FALSE;
$route['api/upload'] = 'upload/localhost';

Loading…
Cancel
Save