diff options
Diffstat (limited to 'views/layout.php')
-rw-r--r-- | views/layout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layout.php b/views/layout.php index 9fad319..0553f63 100644 --- a/views/layout.php +++ b/views/layout.php @@ -75,7 +75,7 @@ </ul> <ul class="nav navbar-nav navbar-right"> <?php if(session('me')) { ?> - <li><a href="/settings">⚙ <?= preg_replace(array('/https?:\/\//','/\/$/'),'',session('me')) ?></a></li> + <li><a href="/settings">⚙ <?= display_url(session('me')) ?></a></li> <li><a href="/signout">Sign Out</a></li> <?php } else if(property_exists($this, 'authorizing')) { ?> <li class="navbar-text"><?= $this->authorizing ?></li> |