示例#1
0
 static function fscf_init_session()
 {
     self::get_global_options();
     // start the PHP session if enabled - used by shortcode attributes (and the CAPTCHA, but only when enable_php_sessions)
     // PHP Sessions are no longer enabled by default allowing for best compatibility with servers, caching, themes, and other plugins.
     // This should resolve any PHP sessions related issues some users had.
     if (self::$global_options['enable_php_sessions'] == 'true') {
         FSCF_Util::start_session();
     }
 }