2011-07-15, 04:27:41
Carlos Wrote:mvlcek Wrote:Another idea is: use only constants for default settings
I meant those default settings. A custom date format, things like that.
Also small plugins with no admin page, with just one or a few values to set up once.
In this case I suggest to use the following in your plugin:
Code:
if (!defined('myplugin_constant1')) define('myplugin_constant1', default_value);