From 9b0584e59338f0b75c6b8a9a1b5def33da5de5f6 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 18 Jul 2010 23:23:18 -0700 Subject: revamp of item structure --- boot.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 1ecd6e677..1a60ee173 100644 --- a/boot.php +++ b/boot.php @@ -30,6 +30,7 @@ class App { public $argc; public $module; public $pager; + private $scheme; private $hostname; private $path; @@ -83,6 +84,13 @@ class App { $this->baseurl = $url; } + function get_hostname() { + return $this->hostname; + } + + function set_hostname($h) { + $this->hostname = $h; + } function set_path($p) { $this->path = ltrim(trim($p),'/'); @@ -306,7 +314,7 @@ function goaway($s) { if(! function_exists('xml_status')) { function xml_status($st) { - header( "Content-type: text/xml"); + header( "Content-type: text/xml" ); echo ''."\r\n"; echo "$st\r\n"; killme(); -- cgit v1.2.3