杂七杂八的小改动

This commit is contained in:
Chenx221 2024-02-15 11:08:46 +08:00
parent 3e66714475
commit c3deb0a285
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021
3 changed files with 8 additions and 5 deletions

View File

@ -29,13 +29,13 @@
用户登录、注册 用户登录、注册
文件显示 目录显示
文件操作(下载,删除,重命名) 文件操作(下载,删除,重命名)
文件夹操作(删除,重命名) 文件夹操作(删除,重命名)
文件/文件夹上传 文件/文件夹上传(支持拖拽上传文件)
计划实现的功能 计划实现的功能
------------------- -------------------
@ -68,6 +68,7 @@ EXTRA: 客户端开发
------------ ------------
PHP >= 8.0 PHP >= 8.0
MySQL/MariaDB MySQL/MariaDB

View File

@ -5,6 +5,8 @@ $db = require __DIR__ . '/db.php';
$config = [ $config = [
'id' => 'basic', 'id' => 'basic',
'name' =>'网盘',
'language' => 'zh-CN',
'basePath' => dirname(__DIR__), 'basePath' => dirname(__DIR__),
'bootstrap' => ['log'], 'bootstrap' => ['log'],
'aliases' => [ 'aliases' => [

View File

@ -33,7 +33,7 @@ $this->registerLinkTag(['rel' => 'icon', 'type' => 'image/x-icon', 'href' => Yii
<header id="header"> <header id="header">
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => '网盘', 'brandLabel' => Yii::$app->name,
'brandUrl' => Yii::$app->homeUrl, 'brandUrl' => Yii::$app->homeUrl,
'options' => ['class' => 'navbar-expand-md navbar-dark bg-dark fixed-top'] 'options' => ['class' => 'navbar-expand-md navbar-dark bg-dark fixed-top']
]); ]);