@extends('layouts.app') @push('styles') @endpush @section('content')
@include('sections.setting-sidebar')

@lang($pageTitle)

@lang('modules.moduleSettings.step1')

@php $uploadMaxFilesize = \App\Helper\Files::getUploadMaxFilesize(); $postMaxSize = \App\Helper\Files::getPostMaxSize(); @endphp @if(!$uploadMaxFilesize['greater']) Your Server upload_max_filesize = {{\App\Helper\Files::getUploadMaxFilesize()['size']}}. Please change to min {{\App\Helper\Files::REQUIRED_FILE_UPLOAD_SIZE}}MB to upload big modules @elseif(!$postMaxSize['greater']) Your Server post_max_size = {{\App\Helper\Files::getUploadMaxFilesize()['size']}}. Please change to min {{\App\Helper\Files::REQUIRED_FILE_UPLOAD_SIZE}}MB to upload big modules @endif

@lang('modules.moduleSettings.step2')

@lang('modules.update.moduleFile')

    @foreach (\Illuminate\Support\Facades\File::files($updateFilePath) as $key => $filename) @if (\Illuminate\Support\Facades\File::basename($filename) != 'modules_statuses.json' && strpos(\Illuminate\Support\Facades\File::basename($filename), 'auto') === false)
  • {{ \Illuminate\Support\Facades\File::basename($filename) }}
    @lang('app.uploadDate'): {{ \Carbon\Carbon::parse(\Illuminate\Support\Facades\File::lastModified($filename))->timezone(global_setting()->timezone)->translatedFormat('jS M, Y g:i A') }}
  • @endif @endforeach
@lang('app.back')
@lang('app.cancel')
@endsection @push('scripts') @endpush