From a4d540f74bbd93a01d97731bc701303040a7b960 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 18 Oct 2018 19:27:03 +1030 Subject: [PATCH] Don't require paths to be set in config - use sensible defaults --- src/Foundation/InstalledApp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Foundation/InstalledApp.php b/src/Foundation/InstalledApp.php index e25c30e1a..94d8d570f 100644 --- a/src/Foundation/InstalledApp.php +++ b/src/Foundation/InstalledApp.php @@ -101,7 +101,7 @@ class InstalledApp implements AppInterface private function subPath($pathName): string { - return '/'.$this->config['paths'][$pathName]; + return '/'.($this->config['paths'][$pathName] ?? $pathName); } /**