diff --git a/pgrouting/install/configure.php b/pgrouting/install/configure.php index 6b5688c..a400a7b 100644 --- a/pgrouting/install/configure.php +++ b/pgrouting/install/configure.php @@ -21,6 +21,14 @@ public function getDefaultParameters() ); } + public function getFilesToCopy() + { + return array( + '../www/css' => 'www:pgrouting/css', + '../www/js/dist' => 'www:pgrouting/js', + ); + } + public function configure(ConfigurationHelpers $helpers) { // srid = projection of the target pgrouting tables @@ -34,9 +42,6 @@ public function configure(ConfigurationHelpers $helpers) 'PostgreSQL group of user to grant access on the schema pgrouting ?', $this->parameters['postgresql_user_group'] ); - - $helpers->copyDirectoryContent('../www/css', jApp::wwwPath('pgrouting/css')); - $helpers->copyDirectoryContent('../www/js/dist', jApp::wwwPath('pgrouting/js')); } public function localConfigure(LocalConfigurationHelpers $helpers)