Skip to content

Commit e3c6e8a

Browse files
committed
Remove assets prefix
1 parent fee757f commit e3c6e8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Installer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa
7979
// Devbr install code:
8080
$appConfig = $this->phpDir.'/Config';
8181
$publicWeb = dirname($this->phpDir);
82-
$appAssets = $publicWeb.'/'.strtolower($this->packName);
82+
//$appAssets = $publicWeb.'/'.strtolower($this->packName);
8383

8484
$packConfig = $downloadPath.'/Config';
8585
$packAssets = $downloadPath.'/Assets';
@@ -93,8 +93,8 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa
9393

9494
// Move Assets...
9595
if(file_exists($packAssets) && is_readable($packAssets)){
96-
self::checkAndOrCreateDir($appAssets, true);
97-
self::copyDirectoryContents($packAssets, $appAssets);
96+
self::checkAndOrCreateDir($publicWeb, true);
97+
self::copyDirectoryContents($packAssets, $publicWeb);
9898
self::removeDirectory($packAssets);
9999
}
100100
}

0 commit comments

Comments
 (0)