summaryrefslogtreecommitdiff
path: root/server/core/App.php
diff options
context:
space:
mode:
authorEoleDev <EoleDev@outlook.fr>2016-02-12 12:11:11 +0100
committerEoleDev <EoleDev@outlook.fr>2016-02-12 12:11:11 +0100
commitaf451ad44290f6cf8373b3672da1ada64f91ecfc (patch)
treeaf5e6924ca82bcb676fd4a9342c5e25a59191ffb /server/core/App.php
parentad33435ce05302c76618fa77282811ade5a53119 (diff)
Add Init and AppClass to do tests, Error Correction in App.php
Diffstat (limited to 'server/core/App.php')
-rwxr-xr-xserver/core/App.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/core/App.php b/server/core/App.php
index dafdaad..bba99b4 100755
--- a/server/core/App.php
+++ b/server/core/App.php
@@ -31,14 +31,14 @@ class App{
switch($service){
case "Identity":
- if($tokenPost == NULL) $tokenClass->genIdentityToken();
- $opt = $tokenClass->getOptions($service);
+ if($this->tokenPost == NULL) $this->tokenClass->genIdentityToken();
+ $opt = $this->tokenClass->getOptions($service);
return $this->openstack->identityV3($opt);
break;
case "Image":
- if($tokenPost == NULL) $tokenClass->genImageToken();
- $opt = $tokenClass->getOptions($service);
- return $this->$openstack->imagesV2($opt);
+ if($this->tokenPost == NULL) $this->tokenClass->genImageToken();
+ $opt = $this->tokenClass->getOptions($service);
+ return $this->openstack->imagesV2($opt);
break;
}