[pmwiki-users] Additional Protocals
Martin Fick
fick at fgm.com
Thu Feb 10 11:04:28 CST 2005
Might I suggest that the protocol detection for links be separated
out into an array such as:
$Protocols = array('http:','https:','mailto:','ftp:','news:','gopher:','nap:',
'file:');
and then in pmwiki.php, replace
foreach(array('http:','https:','mailto:','ftp:','news:','gopher:','nap:',
'file:') as $m)
with:
foreach($Protocols as $m)
This wil allow sites to add to the portocol list in config.php.
-Martin
More information about the pmwiki-users
mailing list