Parcourir la source

Read Only FS return false

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
tags/v29.0.0beta1
Git'Fellow il y a 6 mois
Parent
révision
b22ac93606
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      lib/private/Setup.php

+ 4
- 0
lib/private/Setup.php Voir le fichier

@@ -522,6 +522,10 @@ class Setup {
\OCP\Server::get(Installer::class)
);

if (!is_writable($setupHelper->pathToHtaccess())) {
return false;
}

$htaccessContent = file_get_contents($setupHelper->pathToHtaccess());
$content = "#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####\n";
$htaccessContent = explode($content, $htaccessContent, 2)[0];

Chargement…
Annuler
Enregistrer