diff options
| author | EoleDev <EoleDev@outlook.fr> | 2016-04-18 20:01:50 +0200 |
|---|---|---|
| committer | EoleDev <EoleDev@outlook.fr> | 2016-04-18 20:01:50 +0200 |
| commit | 71794b98c560fa7904a4b3550a21b64ec6cd9339 (patch) | |
| tree | 9ffb595ae6c97f7af78db9df05383a24b2a57ece | |
| parent | eb38e10d6fc9e1b02f770c12b70e8a1e22adef2b (diff) | |
Add floating request
| -rwxr-xr-x[-rw-r--r--] | server/core/FloatingIp.php | 2 | ||||
| -rwxr-xr-x | server/index.php | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/server/core/FloatingIp.php b/server/core/FloatingIp.php index 72ae836..4271a84 100644..100755 --- a/server/core/FloatingIp.php +++ b/server/core/FloatingIp.php @@ -22,7 +22,7 @@ include("CoreInterface.php"); * Management of images * */ -class FloatingIp implements Core{ +class floatingIp implements Core{ /** @var App $app protected, contains the main app object */ protected $app; diff --git a/server/index.php b/server/index.php index d6b0329..ac66c95 100755 --- a/server/index.php +++ b/server/index.php @@ -52,6 +52,13 @@ $computeObject->action($action); $App->show(); break; + + case "floatingip": + include_once("core/FloatingIp.php"); + $computeObject = new floatingIp($App); + $computeObject->action($action); + $App->show(); + break; } }else{ |
