Skip to content

Commit f986f77

Browse files
committed
Internal - Add install logs
1 parent 9b8cb74 commit f986f77

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

public/main/install/install.lib.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2951,11 +2951,15 @@ function installSchemas($container, $manager, $upgrade = false)
29512951
;
29522952
$em->persist($accessUrl);
29532953
$em->flush();
2954+
2955+
error_log('AccessUrl created');
29542956
}
29552957

29562958
if ($upgrade) {
2959+
error_log('Upgrade settings');
29572960
$settingsManager->updateSchemas($accessUrl);
29582961
} else {
2962+
error_log('Install settings');
29592963
// Installing schemas (filling settings_current table)
29602964
$settingsManager->installSchemas($accessUrl);
29612965
}
@@ -3117,8 +3121,12 @@ function finishInstallationWithContainer(
31173121
// Inserting default data
31183122
$data = file_get_contents($sysPath.'public/main/install/data.sql');
31193123
$result = $manager->getConnection()->prepare($data);
3120-
$result->execute();
3121-
$result->free();
3124+
$executeResult = $result->execute();
3125+
3126+
if ($executeResult) {
3127+
error_log('data.sql Ok');
3128+
}
3129+
//$result->free();
31223130

31233131
UserManager::setPasswordEncryption($encryptPassForm);
31243132

0 commit comments

Comments
 (0)