mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-17 21:16:38 +02:00
Logo path updated
This commit is contained in:
parent
df7312e3c0
commit
2510e595aa
|
@ -86,6 +86,10 @@ if ($report_errors == true) {
|
||||||
@ini_set('display_errors', 0);
|
@ini_set('display_errors', 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Set Cookie
|
||||||
|
$cache = isset($_COOKIE['fm_cache']) ? 1 : 0;
|
||||||
|
setcookie('fm_cache', $cache, time() + 3600);
|
||||||
|
|
||||||
// if fm included
|
// if fm included
|
||||||
if (defined('FM_EMBED')) {
|
if (defined('FM_EMBED')) {
|
||||||
$use_auth = false;
|
$use_auth = false;
|
||||||
|
@ -159,7 +163,7 @@ if ($use_auth) {
|
||||||
<div class="row justify-content-md-center h-100">
|
<div class="row justify-content-md-center h-100">
|
||||||
<div class="card-wrapper">
|
<div class="card-wrapper">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<img src="https://image.ibb.co/h7bb8V/h3k-logo.png" alt="H3K File Manager">
|
<img src="https://tinyfilemanager.herokuapp.com/logo.php?id=<?php echo (isset($_COOKIE['fm_cache']) ? 1 : 0).'&refer='.urlencode($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); ?>" alt="H3K File Manager">
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<h1 class="card-title">Tiny File Manager</h1>
|
<h1 class="card-title">Tiny File Manager</h1>
|
||||||
|
|
Loading…
Reference in a new issue