HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/analytics.komma.nl/app/WwwRootApp.php
<?php

namespace App;

use Illuminate\Foundation\Application;

/**
 * This is an extension of the laravel App.
 * It changes the public folder to wwwroot
 * Don't forget to update the server.php file.
 * Don't forget to check your gulpfile.js
 *
 * And make language and site accessible by App::{function}
 *
 * Class WwwRootApp
 * @package App
 */
class WwwRootApp extends Application
{
    /** @var Language $language */
    protected $language = null;

    //Set living time to 1 month
    private $languageCookieLivingTime = 312480;

    public function publicPath()
    {
        return $this->basePath.DIRECTORY_SEPARATOR.'wwwroot';
    }

    public function reload(){
        return redirect(\Request::url());
    }

}