background folder has never been used for GNU social
This commit is contained in:
parent
7f4b51e246
commit
17a65ff873
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
avatar/*
|
avatar/*
|
||||||
background/*
|
|
||||||
files/*
|
files/*
|
||||||
file/*
|
file/*
|
||||||
local/*
|
local/*
|
||||||
|
@ -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(),
|
||||||
|
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user