{
$filename = $this->configDir . '/' . self::CONFIG_DATA_FILE;
- // fail at a early stage, if we already know that we cannot save the data
- if (!$this->dataIsWritable()) {
- throw new ConfigFileException(sprintf('Cannot open file "%s" in mode c+', $filename));
- }
-
if (file_exists($filename)) {
$fileExists = true;
} else {
}
if (!DI::configFileManager()->dataIsWritable()) {
- $warningtext[] = DI::l10n()->t('Friendica\'s configuration store "%s" isn\'t writable. Until then database updates won't be applied automatically, admin settings and console configuration changes won't be saved.', ConfigFileManager::CONFIG_DATA_FILE);
+ $warningtext[] = DI::l10n()->t('Friendica\'s configuration store "%s" isn\'t writable. Until then database updates won\'t be applied automatically, admin settings and console configuration changes won\'t be saved.', ConfigFileManager::CONFIG_DATA_FILE);
}
// Check server vitality