Rename directory "app" to "views"
This commit is contained in:
parent
013cb2e96b
commit
93bd536efe
|
@ -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 ?>
|
||||
|
|
Loading…
Reference in New Issue