[BUGFIX] Check if LocalConfiguration.php is writable 78/53878/3
authorBenni Mack <benni@typo3.org>
Mon, 4 Sep 2017 15:13:20 +0000 (17:13 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 5 Sep 2017 07:51:40 +0000 (09:51 +0200)
commit7d6354d9a04b38df3f0f718fefd477cc84aa5b61
tree9029d2e64f607ff8581dc0172816806f9521dbab
parentd8b99acfb23cb47e7808f6fc653d8090b9f44839
[BUGFIX] Check if LocalConfiguration.php is writable

In TYPO3 v8, the ConfigurationManager only checks if LocalConfiguration.php
is writaeble and not if typo3conf itself is writable.

Optimizing this check removes a warning in an environment where typo3conf/
is hardened to only have LocalConfiguration.php be modified and nothing else.
This change helps running TYPO3 v7 on platform.sh with fewer error messages.

You can compare this line of code with the same line in TYPO3 v8/master.

Resolves: #82289
Releases: 7.6
Change-Id: I7adca89eaa0d9f5b28e3f034f9452d97591a0d80
Reviewed-on: https://review.typo3.org/53878
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/Configuration/ConfigurationManager.php