mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
setup wizard fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'version' => '2.2.0.2',
|
||||
'version' => '2.2.0.3',
|
||||
|
||||
'is_demo' => env('APP_DEMO', false),
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ export default {
|
||||
axios
|
||||
.get('/api/ping')
|
||||
.then((response) => {
|
||||
this.apiRunning = response.data === 'pong'
|
||||
this.apiRunning = response.data.message === 'pong'
|
||||
})
|
||||
.catch(() => {
|
||||
this.apiRunning = false
|
||||
|
||||
@@ -6,18 +6,16 @@ use DB;
|
||||
use PDOException;
|
||||
use Domain\Pages\Models\Page;
|
||||
use Monolog\Handler\MissingExtensionException;
|
||||
use Support\Status\Actions\GetServerSetupStatusAction;
|
||||
use VueFileManager\Subscription\Domain\Plans\Models\Plan;
|
||||
use Domain\Settings\Controllers\GetServerStatusController;
|
||||
use VueFileManager\Subscription\Domain\Transactions\Models\Transaction;
|
||||
use VueFileManager\Subscription\Domain\Subscriptions\Models\Subscription;
|
||||
|
||||
class GetConfigAction
|
||||
{
|
||||
public function __construct(
|
||||
public GetServerStatusController $getServerSetupStatus,
|
||||
)
|
||||
{
|
||||
}
|
||||
public GetServerSetupStatusAction $getServerSetupStatus,
|
||||
) {}
|
||||
|
||||
public function __invoke(): array
|
||||
{
|
||||
|
||||
@@ -3,14 +3,14 @@ namespace Support\Status\Actions;
|
||||
|
||||
class GetServerSetupStatusAction
|
||||
{
|
||||
public function __invoke()
|
||||
public function __invoke(): array
|
||||
{
|
||||
// Required parameters
|
||||
$upload_max_filesize = 128;
|
||||
$post_max_size = 128;
|
||||
$memory_limit = 512;
|
||||
$max_execution_time = 180;
|
||||
$php_version = '8.0';
|
||||
$php_version = '8.1';
|
||||
|
||||
// Writable
|
||||
$storageDirectory = dirname(storage_path('/storage'));
|
||||
|
||||
Reference in New Issue
Block a user