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

View File

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