Commits

Anonymous committed 4c656b8

Public/private files are not supported, so don't distinguish when serving.

  • Participants
  • Parent commits d060ce0

Comments (0)

Files changed (1)

c5t/core/model/content.py

     def filepath(self):
         short_path = '%s/%s' % (self.parent.path(), self.title)
 
-        if self.public:
-            return os.path.join(config['files.public.path'], short_path)
-        else:
-            return os.path.join(config['files.private.path'], short_path)
+        #if self.public:
+        return os.path.join(config['files.public.path'], short_path)
+        #else:
+        #    return os.path.join(config['files.private.path'], short_path)
 
 class Image(File):
     class __mongometa__: