mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-04 20:24:12 +08:00
Nextcloud _htaccess to .htaccess failed
This commit is contained in:
parent
974adb78e2
commit
c30c41a79b
1 changed files with 6 additions and 6 deletions
|
@ -37,12 +37,12 @@ class InstallStep implements IRepairStep
|
||||||
// https://github.com/the-djmaze/snappymail/issues/790#issuecomment-1366527884
|
// https://github.com/the-djmaze/snappymail/issues/790#issuecomment-1366527884
|
||||||
if (!file_exists($app_dir . '/.htaccess') && file_exists($app_dir . '/_htaccess')) {
|
if (!file_exists($app_dir . '/.htaccess') && file_exists($app_dir . '/_htaccess')) {
|
||||||
rename($app_dir . '/_htaccess', $app_dir . '/.htaccess');
|
rename($app_dir . '/_htaccess', $app_dir . '/.htaccess');
|
||||||
if (!file_exists(APP_VERSION_ROOT_PATH . '/app/.htaccess') && file_exists(APP_VERSION_ROOT_PATH . '/app/_htaccess')) {
|
}
|
||||||
rename(APP_VERSION_ROOT_PATH . '/app/_htaccess', APP_VERSION_ROOT_PATH . '/app/.htaccess');
|
if (!file_exists(APP_VERSION_ROOT_PATH . 'app/.htaccess') && file_exists(APP_VERSION_ROOT_PATH . 'app/_htaccess')) {
|
||||||
}
|
rename(APP_VERSION_ROOT_PATH . 'app/_htaccess', APP_VERSION_ROOT_PATH . 'app/.htaccess');
|
||||||
if (!file_exists(APP_VERSION_ROOT_PATH . '/static/.htaccess') && file_exists(APP_VERSION_ROOT_PATH . '/static/_htaccess')) {
|
}
|
||||||
rename(APP_VERSION_ROOT_PATH . '/static/_htaccess', APP_VERSION_ROOT_PATH . '/static/.htaccess');
|
if (!file_exists(APP_VERSION_ROOT_PATH . 'static/.htaccess') && file_exists(APP_VERSION_ROOT_PATH . 'static/_htaccess')) {
|
||||||
}
|
rename(APP_VERSION_ROOT_PATH . 'static/_htaccess', APP_VERSION_ROOT_PATH . 'static/.htaccess');
|
||||||
}
|
}
|
||||||
|
|
||||||
$oConfig = \RainLoop\Api::Config();
|
$oConfig = \RainLoop\Api::Config();
|
||||||
|
|
Loading…
Add table
Reference in a new issue