You are here

function honeypot_file_default_scheme in Honeypot 7

Gets the default file stream for honeypot.

Return value

'public', 'private' or any other file scheme defined as the default.

See also

file_default_scheme()

3 calls to honeypot_file_default_scheme()
honeypot_create_css in ./honeypot.module
Create CSS file to hide the Honeypot field.
honeypot_get_css_file_path in ./honeypot.module
Retrieve the location of the Honeypot CSS file.
honeypot_uninstall in ./honeypot.install
Implements hook_uninstall().
1 string reference to 'honeypot_file_default_scheme'
HoneypotCssTestCase::testHoneypotCssAvailability in ./honeypot.test
Test CSS file availability.

File

./honeypot.module, line 604
Honeypot module, for deterring spam bots from completing Drupal forms.

Code

function honeypot_file_default_scheme() {
  return variable_get('honeypot_file_default_scheme', file_default_scheme());
}