summaryrefslogtreecommitdiffstats
path: root/application/controllers/EventController.php
diff options
context:
space:
mode:
authorroot2011-07-04 15:51:03 +0200
committerroot2011-07-04 15:51:03 +0200
commite0581f27396a8258a4ef4eb6a6aae6f95174f5c6 (patch)
treec72b05c57bb2b61cbd548e4b6bf5d951606d34c0 /application/controllers/EventController.php
parentapikey und apipath nun auch in der application.ini (diff)
downloadpoolctrl-e0581f27396a8258a4ef4eb6a6aae6f95174f5c6.tar.gz
poolctrl-e0581f27396a8258a4ef4eb6a6aae6f95174f5c6.tar.xz
poolctrl-e0581f27396a8258a4ef4eb6a6aae6f95174f5c6.zip
minor
Diffstat (limited to 'application/controllers/EventController.php')
-rw-r--r--application/controllers/EventController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 4d4759d..6925403 100644
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -208,7 +208,7 @@ class EventController extends Zend_Controller_Action
$bootosobj->setTitle(sprintf("%s", $bootos->title));
$bootoslist[$bootosobj->getID()] = $bootosobj;
}
- $poolApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['getbootoss'] . $this->config['pbs2']['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', '');
+ $poolApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['getpools'] . $this->config['pbs2']['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', '');
$poolXMLString = $poolApiResult['http-body'];
$poolXML = new SimpleXMLElement($poolXMLString);
foreach($poolXML->poollist->pool as $pool) {