@extends('admin.layouts.master') @section('title', __('System Status')) @section('has-content-sidebar', 'has-content-sidebar') @section('content-sidebar') @include('admin.settings.content-sidebar') @endsection @section('content')

{{ 'System Status' }}

{{ 'Useful system information about the application.' }}

{{ 'Application Environment' }}
@if(!is_demo()) @endif
{{ 'Site/App Name' }} {{ site_info('name') }}
{{ 'Site Main URL' }} {{ site_info('url') }}
{{ 'Site App URL' }} {{ site_info('url_app') }} {!! (site_info('url_app')!=site_info('url') ? '' : '') !!}
{{ 'Site App Mode' }} {{ (env('APP_ENV')) ? ucfirst(env('APP_ENV')) : '-' }}
{{ 'Debug Mode' }} {!! (env('APP_DEBUG')==true) ? 'Enable' : 'Disable' !!}
{{ 'HTTPS Connection' }} {!! (is_secure()) ? 'Yes' : 'Your site is not using HTTPS' !!}
{{ 'Force SSL (HTTPS)' }} {!! (is_force_https()) ? 'Enable' : 'Disable' !!}
{{ 'Default Upload Directory' }} {{ (is_demo()) ? str_replace(storage_path(), '', storage_path('app/public')) : storage_path('app/public') }}
{{ 'Log Directory' }} {{ (is_demo()) ? str_replace(storage_path(), '', storage_path('logs')) : storage_path('logs') }}
{{ 'Cache Directory' }} {{ (is_demo()) ? str_replace(storage_path(), '', storage_path('framework')) : storage_path('framework') }}
{{ 'Application Status' }} {!! (sys_info('lk'.'ey') && gas()) ? 'Active Revoke' : 'No' .'t a' . 'cti' . 've yet - Cli' .'ck he' . 're to ac' . 'ti' . 've' !!}
{{-- .card --}}
{{ 'Modules and System' }}
@if(!empty(get_module_addons())) @foreach (get_module_addons() as $module) @if(data_get($module, 'name')) @endif @endforeach @endif
{{ 'Core Application / System' }} {{ 'Base / App v'.config('app.version') }} /{{ config('app.build') }}
{{ 'Core Application / Type' }} {!! (sys_info('pty'.'pe') && gas()) ? (starts_with(sys_info('pi'.'n'), 'l1') ? 'Reg'. 'ular' : 'Ext'.'ended') : 'Un' . 'kno' .'wn' !!} {!! sys_info('pc'.'ode') ? '/ '.str_compact(sys_info('pco'.'de')).( !gas() ? ' Ent'. 'er co'. 'rr' .'ect cod' . 'e' : '' ) : ' En'. 'ter yo' .'ur pu' . 'rch'. 'ase co'. 'de' !!}
{{ __(data_get($module, 'name')) }} @if(data_get($module, 'system.kind')) / {{ data_get($module, 'system.kind') }} @endif {{ data_get($module, 'system.info') }} @if(data_get($module, 'system.version')) {{ ucfirst(data_get($module, 'system.type')).'/v'.data_get($module, 'system.version') }} @endif
{{-- .card --}}
{{ 'Server Environment' }}
{{ 'Server Info' }} {{ request()->server('SERVER_SOFTWARE') }}
{{ 'Server Timezone' }} {{ date_default_timezone_get() }}
{{ 'PHP Version' }} {!! phpversion() !!}
{{ 'cURL version' }} {!! (!empty(curl_version()) ? curl_version()['version'].', '.curl_version()['ssl_version'] : '-') !!}
{{ 'OpenSSL' }} {{ OPENSSL_VERSION_TEXT.' | '.OPENSSL_VERSION_NUMBER }}
{{ 'MySQL Version' }} @php $results = DB::select( DB::raw("select version()") ); $mysql_version = isset($results[0]->{'version()'}) ? $results[0]->{'version()'} : '*.*.*'; @endphp {{ $mysql_version }}
{{ 'PHP Post Max Size' }} {{ ini_get('post_max_size').'B' }} {!! ((int)ini_get('post_max_size') < 32 ? '' : '') !!}
{{ 'Max Upload Size' }} {{ ini_get('upload_max_filesize').'B' }} {!! ((int)ini_get('upload_max_filesize') < 8 ? '' : '') !!}
{{ 'PHP Memory Limit' }} {{ ini_get('memory_limit').'B' }} {!! ((int)ini_get('memory_limit') < 256 ? '' : '') !!}
{{ 'PHP Time Limit' }} {{ ini_get('max_execution_time') }} {!! ((int)ini_get('max_execution_time') < 300 ? '' : '') !!}
{{ 'PHP Max Input Vars' }} {{ ini_get('max_input_vars') }} {!! ((int)ini_get('max_input_vars') < 1500 ? '' : '') !!}
{{ 'Fileinfo Extension' }} {{ (extension_loaded('fileinfo') ? 'Enabled' : 'Disabled') }} {!! (!(extension_loaded('fileinfo')) ? '' : '') !!}
{{ 'Mbstring Extension' }} {{ (extension_loaded('mbstring') ? 'Enabled' : 'Disabled') }} {!! (!(extension_loaded('mbstring')) ? '' : '') !!}
{{ 'XML Extension' }} {{ (extension_loaded('xml') ? 'Enabled' : 'Disabled') }} {!! (!(extension_loaded('xml')) ? '' : '') !!}
@endsection @push('scripts') @endpush