Skip to content

Commit

Permalink
use getFilesToCopy method to install assets
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Jun 21, 2024
1 parent c08eeee commit 803728d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions altiProfil/install/configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ public function configure(ConfigurationHelpers $helpers)
$altiProfilConfigPath = $helpers->configFilePath('altiProfil.ini.php');
$helpers->copyFile('config/altiProfil.ini.php.dist', $altiProfilConfigPath, false);

// Copy CSS and JS assets
$helpers->copyDirectoryContent('www', \jApp::wwwPath());
}

public function getFilesToCopy()
{
return array(
'www/altiprofil/css' => 'www:altiprofil/css',
'www/altiprofil/js' => 'www:altiprofil/js',
'www/altiprofil/img' => 'www:altiprofil/img',
);
}


}

0 comments on commit 803728d

Please sign in to comment.