summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/ResourceController.php2
-rw-r--r--application/modules/fbgui/controllers/IndexController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index 2a7b3e9..089e5ba 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -196,7 +196,7 @@ class ResourceController extends Zend_Controller_Action {
$apikey = $this->_request->getParam('apikey');
if($apikey == "") {
header('Content-Type: text/html');
- echo "No API Key\n";
+ echo "Error: No API Key\n";
die();
}
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 3bd9794..8c909e3 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -182,7 +182,7 @@ class Fbgui_IndexController extends Zend_Controller_Action {
$sessionMapper->save($session);
- $this->view->host = $_SERVER['REMOTE_ADDR'];
+ $this->view->host = $_SERVER['REMOTE_HOST'];
$this->view->alphasessionID = $a;
}