equal
deleted
inserted
replaced
205 if self._cw.https: |
205 if self._cw.https: |
206 uiprops = config.https_uiprops |
206 uiprops = config.https_uiprops |
207 else: |
207 else: |
208 uiprops = config.uiprops |
208 uiprops = config.uiprops |
209 relpath = self.relpath |
209 relpath = self.relpath |
|
210 if relpath.startswith('fckeditor/'): |
|
211 relpath = relpath[len('fckeditor/'):] |
|
212 relpath = relpath.split('?', 1)[0] |
210 return self.static_file(osp.join(uiprops['FCKEDITOR_PATH'], relpath)) |
213 return self.static_file(osp.join(uiprops['FCKEDITOR_PATH'], relpath)) |
211 |
214 |
212 |
215 |
213 class StaticDirectoryController(StaticFileController): |
216 class StaticDirectoryController(StaticFileController): |
214 """Controller in charge of serving static file in /static/ |
217 """Controller in charge of serving static file in /static/ |