first commit

This commit is contained in:
jhx
2023-03-21 15:26:43 +08:00
commit d0dfc12286
183 changed files with 10563 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>404 - 在线工具</title>
</head>
<body>
<article>
<p>页面找不到了,什么情况?</p>
<p><a href="/">回到首页</a></p>
</article>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

+19
View File
@@ -0,0 +1,19 @@
<?php
define("BASE_PATH", __DIR__ . '/../');
define("PUBLIC_PATH", BASE_PATH . '/public');
define("HANDLER_PATH", BASE_PATH . '/handler');
define("VIEW_PATH", BASE_PATH . '/view');
define("DATA_PATH", BASE_PATH . '/data');
// 设置模板引擎参数
define("VIEW_CONFIG", [
// 模板文件目录
'view_path' => BASE_PATH . '/./view/',
// 模板编译缓存目录(可写)
'cache_path' => BASE_PATH . '/./runtime/',
// 模板文件后缀
'view_suffix' => 'html',
]);
require_once "../boot.php";
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore