public function __construct($path, Request $request = null)
{
parent::__construct($path, $request);
$this->setPath('composer', realpath(dirname(__DIR__) . '/../'));
$this->setPath('app', realpath(dirname(__DIR__) . '/../app/'));
$this->setPath('view', realpath(dirname(__DIR__) . '/../app/view'));
$this->setPath('cache', 'app/cache');
$this->setPath('config', 'app/config');
$this->setPath('database', 'app/database');
$this->setPath('web', 'public');
$this->setPath('themebase', 'public/theme');
$this->setPath('files', 'public/files');
$this->setPath('view', 'public/bolt-public/view');
$this->setUrl('app', '/bolt-public/');
$this->setUrl('view', '/bolt-public/view/');
}