Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost settings after saving settings #1246

Open
outdoorbits opened this issue Oct 20, 2024 · 0 comments
Open

Lost settings after saving settings #1246

outdoorbits opened this issue Oct 20, 2024 · 0 comments

Comments

@outdoorbits
Copy link

outdoorbits commented Oct 20, 2024

At first: Thank you very much, tinyfilemanager does a fantastic job and I'm using it since a long time in https://github.com/outdoorbits/little-backup-box.
Now I just noticed, that setting from config.php get lost when saving settings in the UI. For example, after changing and saving "Show Hidden Files", other settings are gone:
<?php $use_auth = false; $root_path = "/var/www/tinyfilemanager/media"; $root_url = "files/media"; $max_upload_size_bytes = 1048576000; ?>
moves to
<?php //Default Configuration $CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":true,"hide_Cols":false,"theme":"light"}'; $root_url = "files\/media"; $max_upload_size_bytes = 1048576000; ?>
Now I need to log in and my root dir is not set correctly anymore. Can you help me, how to prevent this? In config-sample.txt I can't find anything about the usage of $CONFIG but putting my settings here does not solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant