<?
session_start();

// Server Pfad
if (!isset($_SESSION["root_path"]) || $_SESSION["root_path"] == "") {
	$root_path = dirname(__FILE__)."/dynamo/";	
	$_SESSION["root_path"] = $root_path;
} else {
	$root_path = $_SESSION["root_path"];
}

// Basics includieren
include 'dynamo/includes/system/inc/startup.php';
include 'dynamo/includes/system/functions/php/realurl.php';
include 'dynamo/includes/system/functions/php/get_pages.php';

include 'includes/functions/php/navigation.php';
include 'includes/functions/php/pages.php';

$settings = $dbobj->sql_fetch("settings", "ORDER BY id LIMIT 1");
$frontend_url = $settings["frontend_url"];

header ("Content-type: text/xml");
echo getPages(0, 1, "xml");
?>