etwist/server.py
branchstable
changeset 2190 d9f5fd1879fc
parent 2169 124fb0b9fa4b
child 2181 94ca417b9b07
--- a/etwist/server.py	Mon Jun 29 16:09:08 2009 +0200
+++ b/etwist/server.py	Mon Jun 29 16:09:35 2009 +0200
@@ -138,6 +138,9 @@
                     if segments[0] == 'static':
                         # instance static directory
                         datadir = self.config.static_directory
+                    elif segments[1] == 'fckeditor':
+                        fckeditordir = self.config.ext_resources['FCKEDITOR_PATH']
+                        return static.File(fckeditordir), segments[2:]
                     else:
                         # cube static data file
                         datadir = self.config.locate_resource(segments[1])