mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 06:28:28 +03:00
Prevent Apache access error due to directories being 0700
This commit is contained in:
parent
67b13e5b1b
commit
8af68d7c65
2 changed files with 35 additions and 0 deletions
|
|
@ -26,7 +26,10 @@ class InstallStep implements IRepairStep
|
|||
|
||||
\OCA\SnappyMail\Util\SnappyMailHelper::loadApp();
|
||||
|
||||
\SnappyMail\Upgrade::fixPermissions();
|
||||
|
||||
$app_dir = \dirname(\dirname(__DIR__)) . '/app';
|
||||
// $app_dir = \rtrim(APP_INDEX_ROOT_PATH, '\\/');
|
||||
|
||||
// https://github.com/the-djmaze/snappymail/issues/790#issuecomment-1366527884
|
||||
if (!\file_exists($app_dir . '/.htaccess') && \file_exists($app_dir . '/_htaccess')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue