|
@@ -132,8 +132,6 @@ class SiteController extends ActionController
|
|
|
$this->cnnPool->getConnectionForTable($table)->beginTransaction();
|
|
$this->cnnPool->getConnectionForTable($table)->beginTransaction();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $pages = [];
|
|
|
|
|
-
|
|
|
|
|
try {
|
|
try {
|
|
|
// Create the site pages:
|
|
// Create the site pages:
|
|
|
// > Root page
|
|
// > Root page
|
|
@@ -357,7 +355,7 @@ class SiteController extends ActionController
|
|
|
" url = " . $organization->getNetworkUrl() .
|
|
" url = " . $organization->getNetworkUrl() .
|
|
|
" }" .
|
|
" }" .
|
|
|
" }" .
|
|
" }" .
|
|
|
- "}" .
|
|
|
|
|
|
|
+ "}";
|
|
|
|
|
|
|
|
$queryBuilder = $this->cnnPool->getQueryBuilderForTable('sys_template');
|
|
$queryBuilder = $this->cnnPool->getQueryBuilderForTable('sys_template');
|
|
|
$queryBuilder->insert('sys_template')
|
|
$queryBuilder->insert('sys_template')
|
|
@@ -367,7 +365,8 @@ class SiteController extends ActionController
|
|
|
'sitetitle' => $organization->getName(),
|
|
'sitetitle' => $organization->getName(),
|
|
|
'root' => 1,
|
|
'root' => 1,
|
|
|
'clear' => 3,
|
|
'clear' => 3,
|
|
|
- 'include_static_file' => 'EXT:fluid_styled_content/Configuration/TypoScript/,EXT:fluid_styled_content/Configuration/TypoScript/Styling/,EXT:ot_widgets/Configuration/TypoScript,EXT:form/Configuration/TypoScript/,EXT:news/Configuration/TypoScript,EXT:ot_templating/Configuration/TypoScript',
|
|
|
|
|
|
|
+ 'config' => "config = 'config.frontend_editing = 1\nconfig.absRefPrefix = /',",
|
|
|
|
|
+ 'include_static_file' => 'EXT:fluid_styled_content/Configuration/TypoScript/,EXT:fluid_styled_content/Configuration/TypoScript/Styling/,EXT:form/Configuration/TypoScript/,EXT:news/Configuration/TypoScript,EXT:frontend_editing/Configuration/TypoScript,EXT:frontend_editing/Configuration/TypoScript/FluidStyledContent9,EXT:ot_templating/Configuration/TypoScript',
|
|
|
'constants' => $constants
|
|
'constants' => $constants
|
|
|
])
|
|
])
|
|
|
->execute();
|
|
->execute();
|
|
@@ -402,19 +401,13 @@ class SiteController extends ActionController
|
|
|
'routes'=>[]
|
|
'routes'=>[]
|
|
|
];
|
|
];
|
|
|
$yamlConfig = Yaml::dump($config, 4);
|
|
$yamlConfig = Yaml::dump($config, 4);
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
// Create the contact form
|
|
// Create the contact form
|
|
|
- $contscatForm = "";
|
|
|
|
|
|
|
+ $contactForm = "";
|
|
|
|
|
|
|
|
// Create the BE user
|
|
// Create the BE user
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- // Create the user_upload directory
|
|
|
|
|
-
|
|
|
|
|
-// throw new \Exception('not implemented');
|
|
|
|
|
-
|
|
|
|
|
|
|
+ // Create the user_upload directory (sys_filemounts)
|
|
|
|
|
|
|
|
// Try to commit the result
|
|
// Try to commit the result
|
|
|
foreach ($tables as $table) {
|
|
foreach ($tables as $table) {
|