etwist/server.py
branchstable
changeset 2169 124fb0b9fa4b
parent 1977 606923dff11b
child 2181 94ca417b9b07
--- a/etwist/server.py	Thu Jun 25 11:28:04 2009 +0200
+++ b/etwist/server.py	Fri Jun 26 11:31:57 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])