mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 04:28:01 +00:00
implemented dynamic content controller loading, enabling whitelisting of content types. closes #87
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user