We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 551a4e83 authored by Evan Prodromou's avatar Evan Prodromou

mail paths for docfile

parent 9bfade75
......@@ -113,6 +113,20 @@ class DocFile
return $paths;
static function mailPaths()
$paths = array(INSTALLDIR.'/local/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment