定义基本信息,增加Apache重写!

This commit is contained in:
zhaoxiang 2016-11-01 14:06:31 +08:00
parent 573f8b80aa
commit f37acd08e8
4 changed files with 25 additions and 8 deletions

View File

@ -19,16 +19,11 @@
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="../../index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b>LT</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Admin</b>LTE</span>
<a href="{:url('Index/index')}" class="logo">
<span class="logo-mini">7D</span>
<span class="logo-lg">7d-vision</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>

View File

@ -10,6 +10,12 @@
// +----------------------------------------------------------------------
return [
'PRODUCT_NAME' => '7d-vision', //产品名称
'WEBSITE_DOMAIN' => 'http://www.7d-vision.com', //官方网址
'COMPANY_NAME' => '七维视觉科技有限公司', //公司名称
// +----------------------------------------------------------------------
// | 数据库配置
// +----------------------------------------------------------------------

8
public/admin/.htaccess Normal file
View File

@ -0,0 +1,8 @@
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

8
public/index/.htaccess Normal file
View File

@ -0,0 +1,8 @@
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>