1
0

first commit

This commit is contained in:
2020-08-06 14:58:51 +08:00
commit 17096657dc
780 changed files with 92857 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
// +------------------------------------------------+
// |http://www.cjango.com |
// +------------------------------------------------+
// | 修复BUG不是一朝一夕的事情等我喝醉了再说吧 |
// +------------------------------------------------+
// | Author: 小陈叔叔 <Jason.Chen> |
// +------------------------------------------------+
return [
// +----------------------------------------------------------------------
// | 日志设置
// +----------------------------------------------------------------------
'log' => [
'type' => 'file',
'path' => LOG_PATH . 'index/',
'time_format' => ' c ',
'file_size' => 2097152,
],
// +----------------------------------------------------------------------
// | 模板设置
// +----------------------------------------------------------------------
'template' => [
'tpl_cache' => true,
'strip_space' => false,
'taglib_pre_load' => '',
'cache_path' => TEMP_PATH . 'index/',
],
'view_replace_str' => [
'__STATIC__' => '/static/index',
'__JS__' => '/static/index/js',
'__CSS__' => '/static/index/css',
'__IMG__' => '/static/index/images',
],
];

View File

@@ -0,0 +1,20 @@
<?php
// +------------------------------------------------+
// |http://www.cjango.com |
// +------------------------------------------------+
// | 修复BUG不是一朝一夕的事情等我喝醉了再说吧 |
// +------------------------------------------------+
// | Author: 小陈叔叔 <Jason.Chen> |
// +------------------------------------------------+
namespace app\index\controller;
use tools\Initialize;
class Index extends Initialize
{
public function index()
{
dump(strtoupper(md5(uniqid())));
return $this->fetch();
}
}

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{$Think.config.web_site_title}</title>
</head>
<body>
<h1>{$Think.config.web_site_title}</h1>
</body>
</html>