git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6552 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2009-06-16 04:57:50 +00:00
parent a497a75aac
commit f9b2a95af6

View file

@ -112,8 +112,8 @@
$output = preg_replace($pattern, 'src=$1'.$real_path.'$3/$4.$5$6', $output);
if(Context::get('vid')) {
$pattern = '/\/'.Context::get('vid').'\?(.+)/is';
$output = preg_replace($pattern, '/?$1', $output);
$pattern = '/\/'.Context::get('vid').'\?([^=]+)=/is';
$output = preg_replace($pattern, '/?$1=', $output);
}
}