mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-16 04:58:00 +00:00
added support for dynamic content controllers
Also implemented a placeholder generator to showcase it
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
class TextController implements ContentController
|
||||
{
|
||||
public const ctype = 'static';
|
||||
|
||||
//returns all extensions registered by this type of content
|
||||
public function getRegisteredExtensions(){return array('txt','text','csv');}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user