mirror of
https://github.com/flucont/btcloud.git
synced 2025-01-23 13:18:13 -05:00
25 lines
422 B
PHP
25 lines
422 B
PHP
<?php
|
|
namespace app\controller;
|
|
|
|
use app\BaseController;
|
|
use think\facade\View;
|
|
|
|
class Index extends BaseController
|
|
{
|
|
public function index()
|
|
{
|
|
return '';
|
|
}
|
|
|
|
public function download()
|
|
{
|
|
if(config_get('download_page') == '0' && !request()->islogin){
|
|
return 'need login';
|
|
}
|
|
View::assign('siteurl', request()->root(true));
|
|
return view();
|
|
}
|
|
|
|
|
|
}
|