Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best place to define plugins' constants?
#7
mvlcek Wrote:Another idea is: use only constants for default settings and every setting is changeable using an administration page for the plugin and the settings are stored in a file in data/other. If there is no settings file, the defaults are  used.

I like this approach, no matter how small the plugin and/or "default setting"... but if that isn't an option, editing gsconfig.php would be a close #2 alternative
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply


Messages In This Thread
Best place to define plugins' constants? - by ccagle8 - 2011-07-15, 06:09:13



Users browsing this thread: 1 Guest(s)