Permalink
Browse files

Use WCF::getPath instead of RELATIVE_APP_DIR

Fixes #3
  • Loading branch information...
1 parent a4cae03 commit 78ef2b12bdfceadd0f8cecc43f99d0dc8fb29bd4 @TimWolla TimWolla committed Mar 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 templateListener.xml
View
4 templateListener.xml
@@ -7,7 +7,7 @@
<eventname>stylesheetImport</eventname>
<templatecode><![CDATA[
body {
- background-image: url("{RELATIVE_APP_DIR}images/headerBG.svg");
+ background-image: url("{@$__wcf->getPath('app')}images/headerBG.svg");
background-repeat: repeat-x;
background-size: 1000px 300px;
}]]> </templatecode>
@@ -18,7 +18,7 @@
<eventname>headerLogo</eventname>
<templatecode><![CDATA[
<h1>Dummy App Alpha 1</h1>
- <img src="{@$__wcf->getPath('app')}images/DummyAppLogo.svg" width="256" height="64" alt="Dummy App Logo" title="Dummy App Alpha 1" />]]>
+ <img src="{@$__wcf->getPath('app')}images/DummyAppLogo.svg" width="256" height="64" alt="Dummy App Logo" title="Dummy App Alpha 1" />]]>
</templatecode>
</templatelistener>
</import>

0 comments on commit 78ef2b1

Please sign in to comment.