HCoop
/
jyaworski
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98b7dac
)
Add \\ config argument to moinMoin and wordPress
author
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 15 Apr 2014 04:08:46 +0000
(
00:08
-0400)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 15 Apr 2014 04:08:46 +0000
(
00:08
-0400)
lib/web_apps.dtl
patch
|
blob
|
blame
|
history
diff --git
a/lib/web_apps.dtl
b/lib/web_apps.dtl
index
d9d6f5b
..
124a6d0
100644
(file)
--- a/
lib/web_apps.dtl
+++ b/
lib/web_apps.dtl
@@
-14,10
+14,11
@@
val addWordPress = \ loc : (location) ->
{{Add a standard WordPress blog set-up code to a virtual host. The WordPress
files should be rooted at the location you specify.}}
{{Add a standard WordPress blog set-up code to a virtual host. The WordPress
files should be rooted at the location you specify.}}
-val wordPress = \ host : (host) ->
+val wordPress = \ host : (host) ->
\\ config : Vhost ->
web host with
addWordPress "/";
web host with
addWordPress "/";
- diskCache "/wp-content"
+ diskCache "/wp-content";
+ config
end;
{{Create a WordPress blog with just the standard set-up code. The WordPress blog should
be rooted at the vhost's <tt>DocumentRoot</tt>.}}
end;
{{Create a WordPress blog with just the standard set-up code. The WordPress blog should
be rooted at the vhost's <tt>DocumentRoot</tt>.}}
@@
-36,12
+37,13
@@
val addMoinMoin = begin
end;
{{Add a MoinMoin wiki to a vhost.}}
end;
{{Add a MoinMoin wiki to a vhost.}}
-val moinMoin = \ host : (host) ->
+val moinMoin = \ host : (host) ->
\\ config : Vhost ->
web host with
addMoinMoin where
Htdocs = moin_default_htdocs;
Prefix = "/"
web host with
addMoinMoin where
Htdocs = moin_default_htdocs;
Prefix = "/"
- end
+ end;
+ config
end;
{{Create a new vhost with just a MoinMoin wiki.}}
end;
{{Create a new vhost with just a MoinMoin wiki.}}