Fix shitty random logo code

This commit is contained in:
Salt 2020-09-11 12:01:01 -05:00
parent 92c6e8bb09
commit a93fca15c2
2 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@
# Distributed under terms of the MIT license.
#
ssh -t salt@www.9iron.club sudo git -C /var/www/www pull
ssh -t salt@desu.ltd sudo git -C /var/www/desultd pull

View File

@ -1,6 +1,6 @@
<div class="header logocontainer">
<img class="logo" src="<?php
$files = glob($_SERVER['DOCUMENT_ROOT'].'/images/logo/*');
$files = glob('images/logo/*');
$message = $files[array_rand($files, 1)];
echo "$message";
?>" alt="logo" width=768 height=768 />