Commit 81e92cb9 authored by Tomáš Pospíšil's avatar Tomáš Pospíšil
Browse files

0.1.15 - minor fixes

parent 28528c60
......@@ -97,6 +97,7 @@ class TraceableSmarty extends Smarty
public function display($template = null, $cache_id = null, $compile_id = null, $parent = null)
{
parent::assign('smarty_backtrace', $this->getBacktraces(), true);
parent::display($template, $cache_id, $compile_id, $parent);
$registrator = Registrator::getInstance($this->getCompileDir(), $this->getCacheDir());
......
......@@ -66,8 +66,8 @@ final class WebSwitcherUrls
if (filter_input(INPUT_SERVER, 'HTTPS')) {
$protocol .= 's';
}
$httpHost = filter_input(INPUT_SERVER, 'HTTP_HOST') ?? '';
$requestUri = filter_input(INPUT_SERVER, 'REQUEST_URI') ?? '';
$httpHost = $_SERVER['HTTP_HOST'] ?? '';
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
return $protocol . '://' . $httpHost . $requestUri;
}
......
......@@ -23,7 +23,6 @@
<td>Branches</td>
<td><strong>{$pbsParser->getLinkFromBranch($branch)}</strong>
{foreach $branches as $branch}
{if $branch@first}<-{/if}
<br>
{$pbsParser->getLinkFromBranch($branch)}
{/foreach}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment