$root = $_SERVER['SERVER_NAME']; include('http://' . $root . '/elem/func.inc.php'); include('http://' . $root . '/elem/lang.inc.php');
$root = $_SERVER['DOCUMENT_ROOT']; include($root . '/elem/func.inc.php'); include($root . '/elem/lang.inc.php');