Change directory structure for images
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
After Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |
Before Width: | Height: | Size: 3.1 MiB After Width: | Height: | Size: 3.1 MiB |
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
|
@ -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>
|