I
I
Ilshat Gayanov2018-04-11 21:00:49
Laravel
Ilshat Gayanov, 2018-04-11 21:00:49

Why key value is not inserted in laravel config?

Why is the value true of the login key not inserted in the laravel config, from this:
config(['recaptcha.used.login', true]);
I allocated rights 775, tried 777, still does not insert,
recaptcha.php does not give errors:

<?php
return [
    'used' => [
        'order' => true,
        'login' => false,
    ],
    'public_key' => '',
    'private_key' => '',  
];

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yan-s, 2018-04-11
@ilshat_gayanov

Configuration files are not meant to be changed at run time.

J
JhaoDa, 2018-04-11
@JhaoDa

Those. Are you expecting this value to be written to the file itself? No, this won't happen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question