Commit 5df0128a authored by Carsten  Rose's avatar Carsten Rose

Update DB Update to new version number.

parent 3b40bc79
......@@ -108,7 +108,7 @@ $UPDATE_ARRAY = array(
"ALTER TABLE `FormElement` CHANGE `label` `label` VARCHAR(511) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''",
],
'0.25.16' => [
'18.04.0' => [
"ALTER TABLE `Cron` ADD `outputFile` VARCHAR(255) NOT NULL AFTER `comment`",
"ALTER TABLE `Cron` ADD `outputMode` ENUM('overwrite','append') NOT NULL DEFAULT 'append' AFTER `outputFile`",
"ALTER TABLE `Cron` ADD `outputPattern` VARCHAR(255) NOT NULL AFTER `outputMode`",
......
......@@ -47,6 +47,10 @@ class Config {
try {
$config = parse_ini_file($configIni, false);
// in case $configIni doesn't exist: just skip
if ($config === false) {
$config = array();
}
} catch (\Exception $e) {
throw new qfq\UserFormException ("Error read file " . $pathTypo3Conf . ": " . $e->getMessage(), ERROR_IO_READ_FILE);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment