remove RUNNIN_INDEX because always we have index.html
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Http\Kernel;
|
||||
use Maveriks\WebApplication;
|
||||
use Maveriks\Http\Response;
|
||||
use Maveriks\Pattern\Mvc\PhtmlView;
|
||||
@@ -50,12 +48,6 @@ try {
|
||||
$app->run(WebApplication::SERVICE_OAUTH2);
|
||||
break;
|
||||
|
||||
// todo: remove in next iterations
|
||||
//case WebApplication::RUNNING_INDEX:
|
||||
// $response = new Response(file_get_contents("index.html"), 302);
|
||||
// $response->send();
|
||||
break;
|
||||
|
||||
case WebApplication::RUNNING_DEFAULT:
|
||||
$response = new Response("", 302);
|
||||
//TODO compose this def url with configuration data from env.ini
|
||||
@@ -73,4 +65,3 @@ try {
|
||||
$response = new Response($view->getOutput(), 503);
|
||||
$response->send();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user