Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 02502b03f7
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (9 sloc) 0.345 kb
<?php defined('SYSPATH') or die('No direct script access.');
Route::set('media', 'media/(<uid>/)kohana/<filepath>', array(
'filepath' => '.*', // Pattern to match the file path
'uid' => '.*?', // Match the unique string that is not part of the media file
))
->defaults(array(
'controller' => 'media',
'action' => 'serve',
));
Jump to Line
Something went wrong with that request. Please try again.