Rename directory "app" to "views"

This commit is contained in:
Bofh 2022-11-24 01:54:43 +01:00
parent 013cb2e96b
commit 93bd536efe
2 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@
<?php require 'css/base.php' ?>
<main>
<?php foreach (scandir('./app') as $t): ?>
<?php foreach (scandir('./views') as $t): ?>
<?php if (!in_array($t,['.','..']) && substr($t, -4) === '.php'): ?>
<div id="window-<?php echo substr($t, 0, -4) ?>"
class="window hidden">
<?php require './app/'.$t ?>
<?php require './views/'.$t ?>
</div>
<?php endif ?>
<?php endforeach ?>