- @include('_layout.footer')
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/application/welcome/view/_layout/footer.blade.php b/application/welcome/view/_layout/footer.blade.php
deleted file mode 100644
index e69de29..0000000
diff --git a/application/welcome/view/_layout/header.blade.php b/application/welcome/view/_layout/header.blade.php
deleted file mode 100644
index 580e6c3..0000000
--- a/application/welcome/view/_layout/header.blade.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/config/template.php b/config/template.php
index c2504ef..306d46d 100644
--- a/config/template.php
+++ b/config/template.php
@@ -17,9 +17,9 @@
// 模板引擎类型
'type' => 'Blade',
// 视图基础目录(集中式)
- 'view_base' => '',
+ 'view_base' => Env::get('ROOT_PATH') . 'resources' . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR,
// 模板起始路径
- 'view_path' => '',
+ 'view_path' => Env::get('ROOT_PATH') . 'resources' . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR,
// 模板文件名分隔符
'view_depr' => DIRECTORY_SEPARATOR,
// 模板文件后缀
diff --git a/application/user/view/_layout/default.blade.php b/resources/views/_layout/default.blade.php
similarity index 100%
rename from application/user/view/_layout/default.blade.php
rename to resources/views/_layout/default.blade.php
diff --git a/application/user/view/_layout/footer.blade.php b/resources/views/_layout/footer.blade.php
similarity index 100%
rename from application/user/view/_layout/footer.blade.php
rename to resources/views/_layout/footer.blade.php
diff --git a/application/user/view/_layout/header.blade.php b/resources/views/_layout/header.blade.php
similarity index 100%
rename from application/user/view/_layout/header.blade.php
rename to resources/views/_layout/header.blade.php
diff --git a/resources/views/user/auth/create.blade.php b/resources/views/user/auth/create.blade.php
new file mode 100644
index 0000000..88db177
--- /dev/null
+++ b/resources/views/user/auth/create.blade.php
@@ -0,0 +1,11 @@
+
+@extends('_layout.default')
+@section('title', '注册')
+@section('content')
+
+
+
注册
+
+
+@stop
+
\ No newline at end of file
diff --git a/application/welcome/view/index/about.blade.php b/resources/views/welcome/index/about.blade.php
similarity index 100%
rename from application/welcome/view/index/about.blade.php
rename to resources/views/welcome/index/about.blade.php
diff --git a/application/welcome/view/index/help.blade.php b/resources/views/welcome/index/help.blade.php
similarity index 100%
rename from application/welcome/view/index/help.blade.php
rename to resources/views/welcome/index/help.blade.php
diff --git a/application/welcome/view/index/home.blade.php b/resources/views/welcome/index/home.blade.php
similarity index 100%
rename from application/welcome/view/index/home.blade.php
rename to resources/views/welcome/index/home.blade.php