first commit
This commit is contained in:
@@ -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 |
@@ -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";
|
||||
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
||||
Reference in New Issue
Block a user