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!

1 Answer 1

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
  • 1
    Well spotted! But that's only in this post. It is there in my file. I'll update my post here. But thanks! Commented Sep 4, 2020 at 20:33

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.