diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-18 23:23:18 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-18 23:23:18 -0700 |
commit | 9b0584e59338f0b75c6b8a9a1b5def33da5de5f6 (patch) | |
tree | e0d4e2f339f4960ff8b8bc20a3ac9d1badf0a055 /boot.php | |
parent | 3c0c8a2dc1bdc196c2fb94da52c07c44c9690fd3 (diff) | |
download | volse-hubzilla-9b0584e59338f0b75c6b8a9a1b5def33da5de5f6.tar.gz volse-hubzilla-9b0584e59338f0b75c6b8a9a1b5def33da5de5f6.tar.bz2 volse-hubzilla-9b0584e59338f0b75c6b8a9a1b5def33da5de5f6.zip |
revamp of item structure
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 '<?xml version="1.0" encoding="UTF-8"?>'."\r\n"; echo "<result><status>$st</status></result>\r\n"; killme(); |