mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 20:48:00 +00:00
added support for dynamic content controllers
Also implemented a placeholder generator to showcase it
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
class ImageController implements ContentController
|
||||
{
|
||||
public const ctype = 'static';
|
||||
//returns all extensions registered by this type of content
|
||||
public function getRegisteredExtensions(){return array('png','bmp','gif','jpg','jpeg','x-png','webp');}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user