diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-03-19 15:32:16 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-03-19 16:17:57 +0100 |
commit | 6a46aca31f3cf0615c226d1486693ed4a6350a39 (patch) | |
tree | 650ff42e7d663c69de2cdaf86f77016d8f0a9d69 /system/application/config/example | |
parent | 3715f4a81a22232ce268efced31e1893eff7d043 (diff) |
restructure; add paste support; shorter URLs
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/config/example')
-rwxr-xr-x | system/application/config/example/config.php | 5 | ||||
-rwxr-xr-x | system/application/config/example/routes.php | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/system/application/config/example/config.php b/system/application/config/example/config.php index 7b325a3e0..487740d12 100755 --- a/system/application/config/example/config.php +++ b/system/application/config/example/config.php @@ -341,9 +341,8 @@ $config['upload_path'] = FCPATH.'data/uploads'; $config['upload_max_size'] = 256*1024*1024; $config['upload_max_text_size'] = 2*1024*1024; $config['upload_max_age'] = 60*60*24*5; // 5 days -$config['paste_show_url'] = 'file/show_url/'; // "s/" with url rewrite -$config['paste_download_url'] = 'file/download/'; // "d/" with url rewrite -$config['passwordsalt'] = ''; // just enter any strign you want here +$config['paste_download_url'] = 'file/download/'; // "" with url rewrite +$config['passwordsalt'] = ''; // just enter any string you want here /* End of file config.php */ /* Location: ./system/application/config/config.php */ diff --git a/system/application/config/example/routes.php b/system/application/config/example/routes.php index 1edd3f93c..17e5927be 100755 --- a/system/application/config/example/routes.php +++ b/system/application/config/example/routes.php @@ -42,6 +42,8 @@ $route['default_controller'] = "file"; $route['scaffolding_trigger'] = ""; +$route['file/(:any)'] = "file/$1"; +$route['(:any)'] = "file/index/$1"; /* End of file routes.php */ /* Location: ./system/application/config/routes.php */ |