Use of templates_c directory for plugins

Discussion corner for Developers of Serendipity.
Post Reply
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Use of templates_c directory for plugins

Post by garvinhicking »

Okay, here's the deal:

Older plugins used the "archives" folder for writing, as this was always world-writable. Then in 0.8 we added the "templates_c" directory, which is now our "temporary" place.

Please let plugins always use this directory, do NOT create your own directories. You never know how people configure the basedir, and creating a subdir may fail.

Templates_c will be kept in every next release, we will ensure that.

It would be good style if plugins remove their temporary files, yes.

Thanks a lot for those good questions. Most of the core plugins could/should be reworked to follow that style. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply