This commit is contained in:
Bozhidar Slaveykov 2024-04-05 11:45:45 +03:00
parent 7b1a9ea1ef
commit ffd41db164
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
<?php
$serverIp = $_SERVER['SERVER_ADDR'];
return [
'public_path' => APP_PUBLIC_PATH,
'public_dir' => APP_PUBLIC_DIR,
@ -13,7 +15,7 @@ return [
'app_name' => 'FileGator',
'app_version' => APP_VERSION,
'language' => 'english',
'logo' => 'https://filegator.io/filegator_logo.svg',
'logo' => "http://" . $serverIp . ':8443/images/phyre-logo.svg',
'upload_max_size' => 100 * 1024 * 1024, // 100MB
'upload_chunk_size' => 1 * 1024 * 1024, // 1MB
'upload_simultaneous' => 3,

View file

@ -1 +0,0 @@
{"1":{"username":"admin","name":"Admin","role":"admin","homedir":"\/","permissions":"read|write|upload|download|batchdownload|zip","password":"$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq"},"2":{"username":"guest","name":"Guest","role":"guest","homedir":"\/","permissions":"","password":""}}