Commit e8e699ef authored by Daniel's avatar Daniel

Update overlay/root/scripts/php_setup.sh, overlay/root/scripts/functions.sh files

parent 440857fb
......@@ -145,5 +145,5 @@ conf_update()
conf_update_enable()
{
conf_activate $1 $2
conf_update $@
conf_update "$@"
}
......@@ -5,6 +5,6 @@ echo "php: starting setup"
if [ ! -f "$file_php_conf" ]; then cp "${file_php_conf}-production" ${file_php_conf}; fi
echo "php: configure default values"
conf_update_enable ${file_php_conf} "memory_limit =" " 512M"
conf_update_enable ${file_php_conf} "html_errors =" " On"
conf_update_enable ${file_php_conf} "mysqli.default_socket =" " ${file_mysql_sock}"
conf_update_enable ${file_php_conf} "memory_limit.*=" "512M"
conf_update_enable ${file_php_conf} "html_errors.*=" " On"
conf_update_enable ${file_php_conf} "mysqli.default_socket.*=" " ${file_mysql_sock}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment