X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplglobals.php;h=c4f2af1696932e30f3aff573cfd506be2c6f8d25;hb=446937eeaa89b10d24f6503ad99e0259a4d8c1b9;hp=9089e1f3971c9171baf1fae0ef6fe72b1f31046c;hpb=d95d46a7c551a5439ff8791e61311a42a64aadd0;p=platal.git diff --git a/classes/plglobals.php b/classes/plglobals.php index 9089e1f..c4f2af1 100644 --- a/classes/plglobals.php +++ b/classes/plglobals.php @@ -1,6 +1,6 @@ read/only // '' => site down + /** Catch-all mode for emails. + * If set to a valid email address, all emails from plat/al are sent to + * that email address, instead of their normal destination (From:, To:, + * and CC: headers are not actually modified). + * Note: only valid if restricted_platal is set to true. + */ + public $email_catchall = false; + + /** Tell smarty to check the timestamps of the templates to decide + * whether recompile the template or not. If this option is false and + * debug mode is not activate, templates won't be recompile if they changed. + */ + public $smarty_autocompile = false; + /** BaseURL of the site. * This is read from the HTTP headers if available but you MUST give a * default value for this field in you configuration file (because, this @@ -87,6 +101,18 @@ class PlGlobals public $locale; public $timezone; + /** Cookie configuration. + */ + public $cookie_ns = 'ORG'; + public $cookie_path = '/'; + + /** Cache duration for static and dynamic cacheable content generated by + * plat/al. Defaults to a week for static content, and an hour for dynamic + * content. + */ + public $static_cache_duration = 604800; + public $dynamic_cache_duration = 3600; + /** You must give a list of file to load. * The filenames given are relatives to the config path of your plat/al installation. */