background folder has never been used for GNU social

This commit is contained in:
Mikael Nordfeldth 2015-12-28 00:00:04 +01:00
parent 7f4b51e246
commit 17a65ff873
3 changed files with 1 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
avatar/*
background/*
files/*
file/*
local/*

View File

@ -140,11 +140,6 @@ $default =
'path' => $_path . '/avatar/',
'ssl' => null,
'maxsize' => 300),
'background' =>
array('server' => null,
'dir' => INSTALLDIR . '/background/',
'path' => $_path . '/background/',
'ssl' => null),
'public' =>
array('localonly' => false,
'blacklist' => array(),

View File

@ -133,7 +133,7 @@ abstract class Installer
}
// Check the subdirs used for file uploads
$fileSubdirs = array('avatar', 'background', 'file');
$fileSubdirs = array('avatar', 'file');
foreach ($fileSubdirs as $fileSubdir) {
$fileFullPath = INSTALLDIR."/$fileSubdir/";
if (!is_writable($fileFullPath)) {