1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 18:41:32 -05:00

Minor Fix

FIxed PHP session being owned by Apache while the webserver is supposed to be NGINX
This commit is contained in:
TommyTran732 2020-07-12 07:53:34 -04:00 committed by GitHub
parent 70f6f04f08
commit 87422c9fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -934,6 +934,7 @@ webserver_config(){
if [ "$webserver" = "1" ]; then if [ "$webserver" = "1" ]; then
php_config php_config
nginx_config_redhat nginx_config_redhat
chown -R nginx:nginx /var/lib/php/session
elif [ "$webserver" = "2" ]; then elif [ "$webserver" = "2" ]; then
apache_config_redhat apache_config_redhat
fi fi