diff MoinMoin/action/AttachFile.py @ 1318:760002b5ffa3

use url_prefix_static = '/moin_static160' instead of url_prefix = '/wiki' to avoid user confusion and stale caches
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 18 Aug 2006 23:23:27 +0200
parents 76a76def8687
children f7f415cc1332 b5864c9492fb
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Fri Aug 18 21:20:15 2006 +0200
+++ b/MoinMoin/action/AttachFile.py	Fri Aug 18 23:23:27 2006 +0200
@@ -379,7 +379,7 @@
     _ = request.getText
 
     now = time.time()
-    pubpath = request.cfg.url_prefix + "/applets/TWikiDrawPlugin"
+    pubpath = request.cfg.url_prefix_static + "/applets/TWikiDrawPlugin"
     basename = request.form['drawing'][0]
     drawpath = getAttachUrl(pagename, basename + '.draw', request, escaped=1)
     pngpath = getAttachUrl(pagename, basename + '.png', request, escaped=1)