mirror of https://gitee.com/karson/fastadmin.git
优化安装脚本资源加载
parent
6d4aaf5ea8
commit
54d6e0904b
|
|
@ -86,7 +86,7 @@ class Install extends Command
|
||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$this->view = View::instance(Config::get('template'), Config::get('view_replace_str'));
|
$this->view = View::instance(array_merge(Config::get('template'), ['tpl_cache' => false]));
|
||||||
$this->request = Request::instance();
|
$this->request = Request::instance();
|
||||||
|
|
||||||
define('INSTALL_PATH', APP_PATH . 'admin' . DS . 'command' . DS . 'Install' . DS);
|
define('INSTALL_PATH', APP_PATH . 'admin' . DS . 'command' . DS . 'Install' . DS);
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="https://cdn.staticfile.org/jquery/2.1.4/jquery.min.js"></script>
|
<script src="__ROOT__/assets/libs/jquery/dist/jquery.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ return [
|
||||||
'Dashboard' => '进入后台',
|
'Dashboard' => '进入后台',
|
||||||
'Go back' => '返回上一页',
|
'Go back' => '返回上一页',
|
||||||
'Install Successed' => '安装成功!',
|
'Install Successed' => '安装成功!',
|
||||||
'Security tips' => '温馨提示:请将以下后台登录入口添加到你的收藏夹,为了你的安全,不要泄漏或发送给他人!如有泄漏请及时修改!',
|
'Security tips' => '温馨提示:请将以下后台登录入口添加到你的收藏夹,为了你的站点安全,不要泄漏或发送给他人!如有泄漏请及时修改!',
|
||||||
'Please input correct database' => '请输入正确的数据库名',
|
'Please input correct database' => '请输入正确的数据库名',
|
||||||
'Please input correct username' => '用户名只能由3-30位数字、字母、下划线组合',
|
'Please input correct username' => '用户名只能由3-30位数字、字母、下划线组合',
|
||||||
'Please input correct password' => '密码长度必须在6-30位之间,不能包含空格',
|
'Please input correct password' => '密码长度必须在6-30位之间,不能包含空格',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue