error_reporting(E_ALL^E_NOTICE); include ('sun/klasa.php'); include ('sun/engine.php'); if (($_SERVER["SERVER_NAME"]=='royal-lord.pl')) { header("HTTP/1.1 301 Moved Permanently"); header("Location: https://www.royal-lord.pl"); die(); } $stronki=explode('.',$_GET['p']); if (($stronki[1]=='html')) { header("HTTP/1.1 301 Moved Permanently"); header("Location: https://www.royal-lord.pl/".$stronki[0]); die(); } if ($_SERVER['SERVER_NAME']=='127.0.0.1') $adres_www='http://127.0.0.1/royal/royalwww/'; else $adres_www='https://www.royal-lord.pl/'; ?>