summaryrefslogtreecommitdiffstats
path: root/application/controllers/IndexController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/IndexController.php')
-rwxr-xr-xapplication/controllers/IndexController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php
index 65757c1..ad61927 100755
--- a/application/controllers/IndexController.php
+++ b/application/controllers/IndexController.php
@@ -4,6 +4,7 @@ class IndexController extends Zend_Controller_Action
{
protected $config;
protected $pbs2host;
+ protected $pbs2Api;
protected $userNamespace;
protected $acl;
@@ -12,6 +13,7 @@ class IndexController extends Zend_Controller_Action
$bootstrap = $this->getInvokeArg('bootstrap');
$this->config = $bootstrap->getOptions();
$this->pbs2host = $this->config['pbs2']['host'];
+ $this->pbs2Api = new Poolctrl_Pbs2Api($this->config);
$this->userIDsNamespace = Zend_Session::namespaceGet('userIDs');
if(isset($this->userIDsNamespace['apikey'])) {
$this->acl = new Poolctrl_Acl($this->pbs2host, $this->config['pbs2']['checkright'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);