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