git.cweiske.de
/
phinde.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first kinda working version
[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
?>