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());
}
}