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/* avatar/*
background/*
files/* files/*
file/* file/*
local/* local/*

View File

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

View File

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