From 0dc17aa9efb987dcdf6f864f4110450bcc0c9003 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Wed, 23 Mar 2016 15:13:42 +0100 Subject: Correction Erreur --- server/core/App.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/core/App.php') diff --git a/server/core/App.php b/server/core/App.php index e3c9c22..6970e5f 100755 --- a/server/core/App.php +++ b/server/core/App.php @@ -22,7 +22,7 @@ class App{ $this->tokenPost = NULL; $this->tokenClass = new genTokenOptions($args); - $this->openstack = new OpenStack\OpenStack([]); + $this->openstack = new OpenStack\OpenStack(['authUrl' => $args["authUrl"]]); $this->pluginsApi = plugin_api::getInstance(); $this->errorClass = new errorManagement($this); $this->output = array(); @@ -38,7 +38,7 @@ class App{ } public function checkToken(){ - $this->tokenClass->checkToken(); + return $this->tokenClass->checkToken(); } public function getLibClass($service){ -- cgit v1.2.3