We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c08e6f commit 72ffa0aCopy full SHA for 72ffa0a
lib/private/Config.php
@@ -262,6 +262,10 @@ private function readData() {
262
private function writeData() {
263
$this->checkReadOnly();
264
265
+ if (!is_file(\OC::$configDir.'/CAN_INSTALL') && !isset($this->cache['version']) || !isset($this->cache['installed'])) {
266
+ throw new HintException(sprintf('Configuration was not read or initialized correctly, not overwriting %s', $this->configFilePath));
267
+ }
268
+
269
// Create a php file ...
270
$content = "<?php\n";
271
$content .= '$CONFIG = ';
0 commit comments