fix: config
This commit is contained in:
parent
a86fe2a85b
commit
1da1b42c14
@ -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" => [],
|
||||||
];
|
];
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user