forked from GNUsocial/gnu-social
mail paths for docfile
This commit is contained in:
parent
9bfade7573
commit
551a4e8324
@ -113,6 +113,20 @@ class DocFile
|
||||
return $paths;
|
||||
}
|
||||
|
||||
static function mailPaths()
|
||||
{
|
||||
$paths = array(INSTALLDIR.'/local/mail-src/',
|
||||
INSTALLDIR.'/mail-src/');
|
||||
|
||||
$site = StatusNet::currentSite();
|
||||
|
||||
if (!empty($site)) {
|
||||
array_unshift($paths, INSTALLDIR.'/local/mail-src/'.$site.'/');
|
||||
}
|
||||
|
||||
return $paths;
|
||||
}
|
||||
|
||||
static function negotiateLanguage($filenames, $defaultFilename=null)
|
||||
{
|
||||
// XXX: do this better
|
||||
|
Loading…
Reference in New Issue
Block a user