Camels aren't studly
This commit is contained in:
parent
f127d65de9
commit
b521215383
|
@ -338,7 +338,7 @@ function html2bbcode($message, $basepath = '')
|
||||||
*
|
*
|
||||||
* @return string The expanded URL
|
* @return string The expanded URL
|
||||||
*/
|
*/
|
||||||
function AddHostnameSub($matches, $basepath) {
|
function addHostnameSub($matches, $basepath) {
|
||||||
$base = parse_url($basepath);
|
$base = parse_url($basepath);
|
||||||
|
|
||||||
$link = $matches[0];
|
$link = $matches[0];
|
||||||
|
@ -358,7 +358,7 @@ function AddHostnameSub($matches, $basepath) {
|
||||||
*
|
*
|
||||||
* @return string Body with expanded URLs
|
* @return string Body with expanded URLs
|
||||||
*/
|
*/
|
||||||
function AddHostname($body, $basepath) {
|
function addHostname($body, $basepath) {
|
||||||
$URLSearchString = "^\[\]";
|
$URLSearchString = "^\[\]";
|
||||||
|
|
||||||
$matches = array("/\[url\=([$URLSearchString]*)\].*?\[\/url\]/ism",
|
$matches = array("/\[url\=([$URLSearchString]*)\].*?\[\/url\]/ism",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user