@extends('layouts/setup') {{-- TODO: Translate --}} {{-- Page title --}} @section('title') Create a User :: @parent @stop {{-- Page content --}} @section('content')

This page will do a system check to make sure your configuration looks correct. We'll add your first user on the next page.

Setting Valid Notes
PHP @if ($start_settings['php_version_min']) @else @endif @if ($start_settings['php_version_min']) Yay! @else Oh no! @endif You're running PHP version {{ PHP_VERSION }}. ({{ config('app.min_php') }} or greater is required.)
URL @if ($start_settings['url_valid']) @else @endif @if ($start_settings['url_valid']) That URL looks right! Good job! @else Uh oh! Snipe-IT thinks your URL is {{ $start_settings['url_config'] }}, but your real URL is {{ $start_settings['real_url'] }} Please update your APP_URL settings in your .env file @endif
Database @if ($start_settings['db_conn']===true) @else @endif @if ($start_settings['db_conn']===true) Great work! Connected to {{ $start_settings['db_name'] }} @else D'oh! Looks like we can't connect to your database. Please update your database settings in your .env file. Your database says: {{ $start_settings['db_error'] }} @endif
Config File @if (!$start_settings['env_exposed']) @else @endif @if (!$start_settings['env_exposed']) Sweet. It doesn't look like your .env file is exposed to the outside world. (You should double check this in a browser though. You don't ever want anyone able to see that file. Ever. Ever ever.) Click here to check now (This should return a file not found or forbidden error.) @else We cannot determine if your config file is exposed to the outside world, so you will have to manually verify this. You don't ever want anyone able to see that file. Ever. Ever ever. An exposed .env file can disclose sensitive data about your system and database. @endif
Environment @if ($start_settings['prod']) @else @endif @if ($start_settings['prod']) Your app is set to production mode. Rock on! @else Your app is set {{ $start_settings['env'] }} instead of production mode. If you're not planning on developing on Snipe-IT, please update your APP_ENV settings in your .env file to production. @endif
File Owner @if (!$start_settings['owner_is_admin']) @else @endif @if (!$start_settings['owner_is_admin']) Your app files are owned by {{ $start_settings['owner'] }}. That doesn't look like a default root/admin account. Nice! @else It looks like your files are owned by {{ $start_settings['owner'] }}, which might be a root/admin account. It's never a good idea to run a website with escalated priveliges. @endif
Permissions @if ($start_settings['writable']) @else @endif @if ($start_settings['writable']) Yippee! Your app storage directory seems writable. @else Uh-oh. Your {{ storage_path() }} directory (or sub-directories within) are not writable by the web-server. Those directories need to be writable by the web server in order for the app to work. @endif
Debug @if (!$start_settings['debug_exposed']) @else @endif @if (!$start_settings['debug_exposed']) Awesomesauce. Debug is either turned off, or you're running this in a non-production environment. (Don't forget to turn it off when you're ready to go live.) @else Yikes! You should turn off debug mode unless you encounter any issues. Please update your APP_DEBUG settings in your .env file @endif
Image Library @if ($start_settings['gd']) @else @endif @if ($start_settings['gd']) GD is installed. Go you! @else The GD library isn't installed. While this won't prevent the system from working, you won't be able to generate labels or upload images. @endif
Email Send Test

This will attempt to send a test mail to {{ config('mail.from.address') }}.

@stop @section('button')
@parent @stop @section('moar_scripts') @stop