4.1 Beta...ish #12

Merged
timw4mail merged 88 commits from develop into master 2018-11-05 13:15:59 -05:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 5258b215d4 - Show all commits

View File

@ -17,6 +17,7 @@
namespace Aviat\AnimeClient\Command; namespace Aviat\AnimeClient\Command;
use function Aviat\AnimeClient\loadToml; use function Aviat\AnimeClient\loadToml;
use function Aviat\AnimeClient\loadTomlFile;
use Aura\Session\SessionFactory; use Aura\Session\SessionFactory;
use Aviat\AnimeClient\Util; use Aviat\AnimeClient\Util;

View File

@ -88,7 +88,7 @@ class UrlGenerator extends RoutingBase {
} }
$path = implode('/', $path_segments); $path = implode('/', $path_segments);
$scheme = ($_SERVER['HTTPS'] === 'on') ? 'https:' : ''; $scheme = (isset($_SERVER['HTTPS'])) ? 'https:' : '';
return "{$scheme}//{$this->host}/{$path}"; return "{$scheme}//{$this->host}/{$path}";
} }