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

panel: APP_ENVIRONMENT_ONLY=true when it should be false #151

Closed
vilhelmprytz opened this issue Jan 27, 2021 · 3 comments · Fixed by #152
Closed

panel: APP_ENVIRONMENT_ONLY=true when it should be false #151

vilhelmprytz opened this issue Jan 27, 2021 · 3 comments · Fixed by #152
Assignees
Labels
bug Something isn't working panel panel

Comments

@vilhelmprytz
Copy link
Member

Describe the bug
In /var/www/pterodactyl/.env, APP_ENVIRONMENT_ONLY is false when it should be true after install.

To Reproduce

  1. Run the script.
  2. Try to edit settings from the web interface.

Expected behaviour
I expect APP_ENVIRONMENT_ONLY to be true.

Screenshots
APP_ENVIRONMENT_ONLY

OS (please complete the following information):

  • OS: all
  • Installation: panel

Additional context
N/A

@vilhelmprytz vilhelmprytz added bug Something isn't working panel panel labels Jan 27, 2021
@vilhelmprytz vilhelmprytz self-assigned this Jan 27, 2021
@vilhelmprytz vilhelmprytz changed the title panel: APP_ENVIRONMENT_ONLY=false when it should be true panel: APP_ENVIRONMENT_ONLY=true when it should be false Jan 27, 2021
@Linux123123
Copy link
Member

A simple sed command should do as you can't do this in php artisan.

@vilhelmprytz
Copy link
Member Author

Or we could use php artisan p:environment:setup --settings-ui=true. I will implement this.

@Linux123123
Copy link
Member

Oh so this is the one setting I was searching for... Yup it should be enabled by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working panel panel
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants