summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Settings/Admin.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 14:07:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 13:56:12 +0200
commite30287cf814bca99b01561df0e60fb00c59ade42 (patch)
treeb029654c0df4c4d120a1c1424a63a93733cf9d80 /apps/files/lib/Settings/Admin.php
parent45e2c415d4ff066d579ab133be4f15453c07b242 (diff)
downloadnextcloud-server-e30287cf814bca99b01561df0e60fb00c59ade42.tar.gz
nextcloud-server-e30287cf814bca99b01561df0e60fb00c59ade42.zip
Fix comparisons in the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files/lib/Settings/Admin.php')
-rw-r--r--apps/files/lib/Settings/Admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Settings/Admin.php b/apps/files/lib/Settings/Admin.php
index da1d5deaf35..faaeb5b89c1 100644
--- a/apps/files/lib/Settings/Admin.php
+++ b/apps/files/lib/Settings/Admin.php
@@ -46,7 +46,7 @@ class Admin implements ISettings {
* @return TemplateResponse
*/
public function getForm() {
- $htaccessWorking = (getenv('htaccessWorking') == 'true');
+ $htaccessWorking = (getenv('htaccessWorking') === 'true');
$htaccessWritable = is_writable(\OC::$SERVERROOT.'/.htaccess');
$userIniWritable = is_writable(\OC::$SERVERROOT.'/.user.ini');