Auto register static files

This commit is contained in:
Ruud
2011-08-24 12:02:40 +02:00
parent 9734521178
commit e8db94c831
16 changed files with 26 additions and 31 deletions
-2
View File
@@ -25,8 +25,6 @@ class FileManager(Plugin):
addApiView('file.cache/<path:file>', self.showImage)
self.registerStatic(__file__)
def showImage(self, file = ''):
cache_dir = Env.get('cache_dir')