git.cweiske.de
/
phinde.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fd913600930691d8e41ce3e90d95ab2e27d532cb
[phinde.git]
/
src
/
functions.php
1
<?php
2
function isUrlAllowed($url)
3
{
4
$urlDomain = parse_url($url, PHP_URL_HOST);
5
if (!in_array($urlDomain, $GLOBALS['phinde']['domains'])) {
6
return false;
7
}
8
return true;
9
}
10
11
?>