graphonline/backend/crossDomain.php
2024-10-12 18:40:51 +02:00

18 lines
250 B
PHP

<?php
/*
Function to save/open graph
*/
// Domains of service.
$domains = array(
"graphonline.ru",
"graphonline.top",
);
function isCurrentDomain($domain)
{
return strtolower($domain) == strtolower($_SERVER['SERVER_NAME']);
}
?>