blob: fd913600930691d8e41ce3e90d95ab2e27d532cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
function isUrlAllowed($url)
{
$urlDomain = parse_url($url, PHP_URL_HOST);
if (!in_array($urlDomain, $GLOBALS['phinde']['domains'])) {
return false;
}
return true;
}
?>
|