mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-19 17:50:20 +00:00
Turn off output_buffering in Apache Web Server in order to flush output to browser.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -133,9 +133,9 @@ set -x
|
||||
|
||||
# Copy php.ini file into /opt/xcat/ui and turn off output_buffering
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
sed /etc/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
|
||||
/bin/sed /etc/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
|
||||
else # SUSE
|
||||
sed /etc/php5/apache2/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
|
||||
/bin/sed /etc/php5/apache2/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini
|
||||
fi
|
||||
|
||||
# Automatically put encrypted password into the xCAT passwd database
|
||||
|
Reference in New Issue
Block a user