

<?php $__env->startSection('content'); ?>
    <?php
    $db_file_write_perm = is_writable('config/database.php');
    $routes_file_write_perm = is_writable('routes/web.php');
    $curl_enabled = function_exists('curl_version');
    if ($db_file_write_perm == false || $routes_file_write_perm == false || $curl_enabled == false) {
        $valid = false;
    } else {
        $valid = true;
    }
    ?>
    <div class="row justify-content-center ins-two">
        <div class="col-md-6">
            <div class="card">
                <div class="card-body">
                    <div class="panel panel-default ins-three" data-collapsed="0">
                        <!-- panel body -->
                        <div class="panel-body ins-four">
                            <h6 class="ins-four mb-2">
                                <?php echo e(__('We ran diagnosis on your server.') .
                                    ' ' .
                                    __('Review the items that have a red mark on it.') .
                                    ' ' .
                                    __('If everything is green, you
                                                                                                			              are good to go to the next step.')); ?>

                            </h6>
                            <br>
                            <p class="ins-four mb-2">
                                <i class="fas fafas fa-check ins-nine text-success"></i>
                                <strong><?php echo e(__('config/database.php')); ?>

                            </p>
                            <p class="ins-four mb-2">
                                <i class="fas fafas fa-check ins-nine text-success"></i>
                                <strong><?php echo e(__('routes/web.php')); ?>

                            </p>
                            <p class="ins-four mb-2">
                                <i class="fas fafas fa-check ins-nine text-success"></i>
                                <strong><?php echo e(__('Curl Enabled')); ?></strong>
                            </p>
                            <p class="ins-four mt-3">
                                <strong><?php echo e(__('To continue the installation process, all the above requirements are needed to be checked')); ?></strong>
                            </p>
                            <br>
                            <?php if ($valid == true) { ?>
                            <p>
                                <?php if ($_SERVER['SERVER_NAME'] == 'localhost' || $_SERVER['SERVER_NAME'] == '127.0.0.1') { ?>
                                <a href="<?php echo e(route('step3')); ?>" class="btn btn-primary">
                                    <?php echo e(__('Continue')); ?>

                                </a>
                                <?php } else { ?>
                                <a href="<?php echo e(route('step2')); ?>" class="btn btn-primary">
                                    <?php echo e(__('Continue')); ?>

                                </a>
                                <?php } ?>
                            </p>
                            <?php } ?>

                            <?php if ($valid != true) { ?>
                            <p>
                                <?php if ($_SERVER['SERVER_NAME'] == 'localhost' || $_SERVER['SERVER_NAME'] == '127.0.0.1') { ?>
                                <a href="<?php echo e(route('step3')); ?>" class="btn btn-primary" disabled>
                                    <?php echo e(__('Continue')); ?>

                                </a>
                                <?php } else { ?>
                                <a href="<?php echo e(route('step2')); ?>" class="btn btn-primary" disabled>
                                    <?php echo e(__('Continue')); ?>

                                </a>
                                <?php } ?>
                                <a href="<?php echo e(route('step1')); ?>" class="btn btn-primary">
                                    <i class="mdi mdi-refresh"></i><?php echo e(__('Reload')); ?>

                                </a>
                            </p>
                            <?php } ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('install.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\MAMP\htdocs\1.11academy-laravel\1.11\Academy-LMS\resources\views/install/step1.blade.php ENDPATH**/ ?>