Topic Closed
juergen
1.5K Posts
55.3K Downloads
16 Plugins
design, web development & visual effects

Hi Josh,

could you please add "json" to $upload_extensions_allow in 4.5 final? Need it for a addon.

And, for curiosity, is there a way to add such extensions from within an addon hook? Had no luck so far.

Thx

5 years ago#7904

Josh S.
2K Posts
286K Downloads
16 Themes
18 Plugins

Sure can.

Just added the AllowedTypes filter so addons can have some control

5 years ago#7908

juergen
1.5K Posts
55.3K Downloads
16 Plugins
design, web development & visual effects

FYI: I need json for my upcoming "Template Manager" addon where I decided to store (even deep-nested) section templates including content in a /data/_uploaded/templates subdirectory for easy transferability. Storing php is obviously not an option here. I could have used txt file extension but .json is much clearer.

Thx - much appreciated!

5 years ago#7909

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register