andi34 / photobooth

A Photobooth web interface for Linux and Windows.
MIT License
71 stars 39 forks source link

Use my.config.inc.php if exist #3

Closed andi34 closed 5 years ago

andi34 commented 5 years ago

Use a copy of config.inc.php (cp config.inc.php my.config.inc.php) if exist to prevent sharing email setup (password and username) by accident on github. Add the config copy to .gitignore)

andi34 commented 5 years ago

Maybe @F4bsi can help on that? Or @andreknieriem ? Commits https://github.com/andi34/photobooth/commits/dev2

andi34 commented 5 years ago

https://github.com/andi34/photobooth/commit/3fefacb05569f5170d04f4fa254e0f6cc44e42f4

Need to check if it works. But should work like this I guess.

andi34 commented 5 years ago

Mh... https://github.com/andi34/photobooth/commit/80fdf8bcde74c40f475dc0f3d2c7117731dfaa10 does not work. Anyone an idea why?

andi34 commented 5 years ago

ok, it does work. there seems to be only an issue if admin page was used to change config

andi34 commented 5 years ago

Admin Page does not work after that, works fine besides that

andi34 commented 5 years ago

Admin Page works now. Was missing some ; 🙈

https://github.com/andi34/photobooth/commit/6eea8b2fa012727ae4c95355ced2d922556e2351

andi34 commented 5 years ago

Works fine :) issues solved. Will be needed for Mail feature.