fix: config

This commit is contained in:
kemasama 2022-05-22 15:24:54 +09:00
parent a86fe2a85b
commit 1da1b42c14
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<?php
return [
"version" => "1.0.1",
"mysql" => [
"hostname" => "localhost",
"dbname" => "timecard",
@ -8,7 +9,7 @@ return [
"password" => ""
],
"admin-password" => "admin",
"canonical" => "http://localhost/timecard/",
"heads" => [],
"admin_users" => [],
];

View File

@ -1,3 +1,4 @@
<!-- Version <?php echo $args["config"]["version"]; ?> -->
<!DOCTYPE html>
<html lang="ja">
<head>
@ -9,7 +10,6 @@
<?php foreach ($args["config"]["heads"] as $key => $val): ?>
<?php echo $val; ?>
<?php endforeach; ?>
<!-- Version 1.0.0 -->
</head>
<body>
<div class="container">