Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
551a4e83
Commit
551a4e83
authored
Apr 18, 2011
by
Evan Prodromou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mail paths for docfile
parent
9bfade75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
lib/docfile.php
lib/docfile.php
+14
-0
No files found.
lib/docfile.php
View file @
551a4e83
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment