wb-archiv283/branches/2.8.x/wb/modules/output_filter/filters/filterMediaRel.php @ 1910
1 | 1905 | darkviper | <?php
|
---|---|---|---|
2 | /**
|
||
3 | * doFilterMediaRel
|
||
4 | * @param string to modify
|
||
5 | * @return string
|
||
6 | * Convert the Placeholder {SYSVAR:MEDIA_REL} into the real, full qualified URL
|
||
7 | */
|
||
8 | function doFilterMediaRel($sContent) { |
||
9 | return str_replace('{SYSVAR:MEDIA_REL}', WB_URL.MEDIA_DIRECTORY, $sContent); |
||
10 | }
|