added a new option - 'index_page'

added base_url_make() into codeigniter
This commit is contained in:
2010-08-03 05:55:12 +00:00
parent 7b08188e6a
commit 93a0375011
39 changed files with 202 additions and 125 deletions

View File

@ -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~%.:_@\-';
/*

View File

@ -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 */