added a new option - 'index_page'
added base_url_make() into codeigniter
This commit is contained in:
@ -26,7 +26,7 @@ $config['base_url'] .= preg_replace('@/+$@','',dirname($_SERVER['SCRIPT_NAME']))
|
||||
| variable so that it is blank.
|
||||
|
|
||||
*/
|
||||
$config['index_page'] = "index.php";
|
||||
$config['index_page'] = CODEPOT_INDEX_PAGE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@ -126,7 +126,7 @@ $config['subclass_prefix'] = 'MY_';
|
||||
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||
|
|
||||
*/
|
||||
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
||||
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_@\-';
|
||||
|
||||
|
||||
/*
|
||||
|
@ -43,6 +43,7 @@
|
||||
$route['default_controller'] = "site";
|
||||
$route['scaffolding_trigger'] = "";
|
||||
|
||||
$route['@(.+)'] = "project/home/$1";
|
||||
|
||||
/* End of file routes.php */
|
||||
/* Location: ./system/application/config/routes.php */
|
||||
|
Reference in New Issue
Block a user