implemented dynamic content controller loading, enabling whitelisting of content types. closes #87

This commit is contained in:
Chris
2020-06-06 13:27:47 +02:00
parent a2b7feb6f9
commit 5861e73848
9 changed files with 69 additions and 49 deletions

View File

@@ -3,7 +3,7 @@
class TextController implements ContentController
{
//returns all extensions registered by this type of content
public function getRegisteredExtensions(){return array('txt');}
public function getRegisteredExtensions(){return array('txt','text','csv');}
public function handleHash($hash,$url)
{