add fetaure switch for acl-automention

This commit is contained in:
fabrixxm 2014-01-03 14:40:43 +01:00
commit ad5a47aecf
5 changed files with 11 additions and 3 deletions

View file

@ -617,7 +617,6 @@ function fetch_xrd_links($url) {
if(! function_exists('validate_url')) {
function validate_url(&$url) {
// no naked subdomains (allow localhost for tests)
if(strpos($url,'.') === false && strpos($url,'/localhost/') === false)
return false;