- new clock element showing current EVE server time, closed #602

- small UI fixes
This commit is contained in:
Mark Friedrich
2018-03-26 23:04:48 +02:00
parent e3109e6663
commit 418ae20d98
11 changed files with 90 additions and 31 deletions

View File

@@ -403,19 +403,12 @@ class Route extends Controller\AccessController {
* @throws \Exception\PathfinderException
*/
public function searchRoute(int $systemFromId, int $systemToId, $searchDepth = 0, array $mapIds = [], array $filterData = []) : array {
// search root by ESI API
$routeData = $this->searchRouteESI($systemFromId, $systemToId, $searchDepth, $mapIds, $filterData);
self::getLogger('DEBUG')->write('NEW searchRouteESI() --------------------------------------------------');
self::getLogger('DEBUG')->write(print_r($routeData, true));
if( !empty($routeData['error']) ){
// ESI route search has errors -> fallback to custom search implementation
$routeDataTest = $this->searchRouteCustom($systemFromId, $systemToId, $searchDepth, $mapIds, $filterData);
self::getLogger('DEBUG')->write('NEW searchRouteCustom() --------------------------------------------------');
self::getLogger('DEBUG')->write(print_r($routeDataTest, true));
$routeData = $this->searchRouteCustom($systemFromId, $systemToId, $searchDepth, $mapIds, $filterData);
}
return $routeData;