aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-18 23:23:18 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-18 23:23:18 -0700
commit9b0584e59338f0b75c6b8a9a1b5def33da5de5f6 (patch)
treee0d4e2f339f4960ff8b8bc20a3ac9d1badf0a055 /boot.php
parent3c0c8a2dc1bdc196c2fb94da52c07c44c9690fd3 (diff)
downloadvolse-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.php10
1 files changed, 9 insertions, 1 deletions
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 '<?xml version="1.0" encoding="UTF-8"?>'."\r\n";
echo "<result><status>$st</status></result>\r\n";
killme();