summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/header.php')
-rw-r--r--application/views/header.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/application/views/header.php b/application/views/header.php
index 683fc7727..e85463735 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -35,7 +35,14 @@ if (is_cli_client() && !isset($force_full_html)) {
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="<?php echo site_url(); ?>">FileBin</a>
+ <a class="brand" href="<?php echo site_url(); ?>"><?php
+ if (file_exists(FCPATH."data/local/logo.svg")) {
+ echo '<img src="'.link_with_mtime("/data/local/logo.svg").'" style="height: 20px"> FileBin';
+ } else {
+ echo "FileBin";
+ }
+ ?>
+ </a>
<?php if(!isset($GLOBALS["is_error_page"])) { ?>
<ul class="nav pull-right">
<?php if(isset($username) && $username) { ?>