Adding option to settings.dat.php

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 28, 2020   (RSS)

By gversion - July 26, 2020

Hello,

I am trying to add a new settings option to the settings.dat.php file.

I have placed my settings.dat.php in a data folder outside of my public folder and this is working fine.

When I add the setting option as below (in uppercase), then when I git push changes to the server the setting is removed:

'JWT' => 'XXXXX'

(where the Xs represent an API key)

If I set the option as below (in lowercase) then it is saved as I would like:

'jwt' => 'XXXXX'

Can someone please explain what might be going on here?

Thanks,

Greg

By gversion - July 28, 2020

Hi Daniel,

Thank you for the reply.

I checked in General settings and the config file is the same one.

The thing is that my gut deployment is only configured to update files in the public folder so I don't understand why the settings file is being updated... Maybe it's a server configuration issue. I will check with the hosting people.

It took me a long time to figure out but at least I have got it working now. I just need to keep it in lowercase!

Regards,

Greg

By daniel - July 28, 2020

Hey Greg,

Keep us updated if you find out anything else!

Thanks,

Daniel
Technical Lead
interactivetools.com