function discussthis_boost_is_cacheable in Discuss This! 6
\brief Avoid having the form cached.
Since it can generate problems to have a cached form (i.e. especially a form with a CAPTCHA) we tell boost to ignore our create form.
\param[in] $path The path to the form being checked by CAPTCHA
\return FALSE if the path starts with discussthis/create, NULL otherwise
File
- ./
discussthis.module, line 746 - Associations discussions in forums with specific nodes
Code
function discussthis_boost_is_cacheable($path) {
if (strncmp($path, 'discussthis/create', 18) == 0) {
return FALSE;
}
}