@@ 231-235 (lines=5) @@ | ||
228 | protected function installDefaultPageTemplates($bundle) |
|
229 | { |
|
230 | // Configuration templates |
|
231 | if ($this->isSymfony4()) { |
|
232 | $dirPath = $this->container->getParameter('kernel.project_dir') . '/config/kunstmaancms/pagetemplates/'; |
|
233 | } else { |
|
234 | $dirPath = sprintf('%s/Resources/config/pagetemplates/', $bundle->getPath()); |
|
235 | } |
|
236 | ||
237 | $skeletonDir = sprintf('%s/Resources/config/pagetemplates/', GeneratorUtils::getFullSkeletonPath('/common')); |
|
238 | ||
@@ 294-298 (lines=5) @@ | ||
291 | protected function installDefaultPagePartConfiguration($bundle) |
|
292 | { |
|
293 | // Pagepart configuration |
|
294 | if ($this->isSymfony4()) { |
|
295 | $dirPath = $this->container->getParameter('kernel.project_dir') . '/config/kunstmaancms/pageparts/'; |
|
296 | } else { |
|
297 | $dirPath = sprintf('%s/Resources/config/pageparts/', $bundle->getPath()); |
|
298 | } |
|
299 | ||
300 | $skeletonDir = sprintf('%s/Resources/config/pageparts/', GeneratorUtils::getFullSkeletonPath('/common')); |
|
301 |