Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
4.6 集中视图
Browse files Browse the repository at this point in the history
  • Loading branch information
AGDholo committed Jun 14, 2018
1 parent d1e6359 commit ef70b59
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 63 deletions.
32 changes: 0 additions & 32 deletions application/welcome/view/_layout/default.blade.php

This file was deleted.

Empty file.
29 changes: 0 additions & 29 deletions application/welcome/view/_layout/header.blade.php

This file was deleted.

4 changes: 2 additions & 2 deletions config/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
// 模板文件后缀
Expand Down
11 changes: 11 additions & 0 deletions resources/views/user/auth/create.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

@extends('_layout.default')
@section('title', '注册')
@section('content')
<section class="jumbotron text-center">
<div class="container">
<h1 class="jumbotron-heading">注册</h1>
</div>
</section>
@stop

0 comments on commit ef70b59

Please sign in to comment.