# HG changeset patch # User Sylvain Thénault # Date 1246008717 -7200 # Node ID 124fb0b9fa4be8550a760e064d01e73fc85e2873 # Parent f1d5d01dd345bbbdca7e3a75aa4620b0027fbfae fckeditor may be a subdirectory of the data directory diff -r f1d5d01dd345 -r 124fb0b9fa4b etwist/server.py --- 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])