update map naming structure in index.php
This commit is contained in:
parent
9e3cbc48ff
commit
f91f84c12d
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ $siteHeaderTitle = $headerTitles[array_rand($headerTitles)];
|
||||||
<div class="video-wrapper">
|
<div class="video-wrapper">
|
||||||
<video controls controlsList="nodownload" oncontextmenu="return false" preload="metadata" src="<?=h($url)?>"<?= $posterUrl !== '' ? ' poster="'.h($posterUrl).'"' : '' ?>></video>
|
<video controls controlsList="nodownload" oncontextmenu="return false" preload="metadata" src="<?=h($url)?>"<?= $posterUrl !== '' ? ' poster="'.h($posterUrl).'"' : '' ?>></video>
|
||||||
<?php
|
<?php
|
||||||
$map = pathinfo($name, PATHINFO_FILENAME).".png";
|
$map = pathinfo($name, PATHINFO_FILENAME)."_map.png";
|
||||||
$hideMap = !empty($hiddenMapOutputs[$name]);
|
$hideMap = !empty($hiddenMapOutputs[$name]);
|
||||||
if(!$hideMap && is_file($config['videos_dir']."/".$map)):
|
if(!$hideMap && is_file($config['videos_dir']."/".$map)):
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue