diff --git a/src/Support/Iconamic.php b/src/Support/Iconamic.php index ce8a3b4..9fc8d36 100644 --- a/src/Support/Iconamic.php +++ b/src/Support/Iconamic.php @@ -71,7 +71,7 @@ public function getPath(string $path, string $pathHelper, ?string $filename = nu if ($pathHelper === 'default') { $pathHelper = config('iconamic.path_helper'); } -ray($pathHelper)->blue(); + // build the directory based off of the configured path and path helper switch ($pathHelper) { case 'app_path': @@ -95,7 +95,7 @@ public function getPath(string $path, string $pathHelper, ?string $filename = nu default: throw IconamicException::unknownPathHelper($pathHelper); } -ray($directory)->red(); + $path = explode('/', $filename); $stack = []; foreach ($path as $seg) {