1
0
Fork 0

Change directory structure for images

master
Anonymous Contributor 2023-09-05 10:40:08 +02:00
parent b68884f33c
commit 9ebb54ce64
9 changed files with 3 additions and 3 deletions

View File

@ -10,10 +10,10 @@ class ViewerWelcomePage extends \Mcp\RequestHandler
public function get(): void
{
$images = array();
if ($handle = opendir('./data/viewerWelcomeImages')) {
if ($handle = opendir('./img/viewerWelcomeImages')) {
while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != "..") {
$images[] = "./data/viewerWelcomeImages/".$entry;
$images[] = "./img/viewerWelcomeImages/".$entry;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

View File

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 3.4 MiB

View File

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

View File

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

View File

@ -4,7 +4,7 @@
<title>Benutzer online</title>
<meta http-equiv="refresh" content="15">
</head>
<body style="background-image: url('./style/images/fabric-pattern.png')">
<body style="background-image: url('./img/fabric-pattern.png')">
<?= $v['online-users'] ?>
</body>
</html>