0

I created a file in system/user/config/captcha.php to overrule the standard captchas. It has the following content.

<?php

return [
  'accordion',
  'guitar',
  'bagpipes',
  'banjo',
  'drums',
  'bugle',
  'cello',
  'clarinet',
  'cymbals',
  'drums',
  'flute',
  'horn',
  'harmonica',
  'harp',
  'keyboard',
  'maracas',
  'organ',
  'piano',
  'recorder',
  'saxophone',
  'sitar',
  'tambourine',
  'triangle',
  'trombone',
  'trumpet',
  'tuba',
  'ukulele',
  'violin',
  'xylophone',
  'bassoon',
  'castanets',
  'didgeridoo',
  'bass',
  'gong',
  'harpsichord',
  'lute',
  'mandolin',
  'oboe',
  'piccolo',
  'viola'
];

?>

When I load the page that contains my form I can see it still uses the standard dictionary. Anybody knows where it goes wrong here?

Thanks!

0

It looks like you left out the <?php tag on first line of the file.

See the example file here.

Hope that helps!

  • 1
    Well spotted! But that's only in this post. It is there in my file. I'll update my post here. But thanks! – mcwhitey Sep 4 '20 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.