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.
2 parents eda89d9 + 6b8b85a commit 01c0b31Copy full SHA for 01c0b31
lib/private/Config.php
@@ -254,6 +254,10 @@ private function readData() {
254
private function writeData() {
255
$this->checkReadOnly();
256
257
+ if (!is_file(\OC::$configDir.'/CAN_INSTALL') && !isset($this->cache['version'])) {
258
+ throw new HintException(sprintf('Configuration was not read or initialized correctly, not overwriting %s', $this->configFilePath));
259
+ }
260
+
261
// Create a php file ...
262
$content = "<?php\n";
263
$content .= '$CONFIG = ';
0 commit comments