summaryrefslogtreecommitdiffstats
path: root/adei/scripts
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-23 02:11:06 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-23 02:11:06 +0100
commitb81418759a81dd1e3064a6a5975271277d5c51c8 (patch)
tree15126dcb07609df7b75141842a4f2b3cb3dbe350 /adei/scripts
parent56bca63e5daf375f13500c0a79f2ddf2b678769d (diff)
downloadadei-b81418759a81dd1e3064a6a5975271277d5c51c8.tar.gz
adei-b81418759a81dd1e3064a6a5975271277d5c51c8.tar.bz2
adei-b81418759a81dd1e3064a6a5975271277d5c51c8.tar.xz
adei-b81418759a81dd1e3064a6a5975271277d5c51c8.zip
Save session variables in writable /tmp folder
Diffstat (limited to 'adei/scripts')
-rwxr-xr-xadei/scripts/configure.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/adei/scripts/configure.sh b/adei/scripts/configure.sh
index 88b48fc..cbc0033 100755
--- a/adei/scripts/configure.sh
+++ b/adei/scripts/configure.sh
@@ -7,3 +7,4 @@ sed -i'' -re 's/^.*pam_loginuid\.so.*$//' /etc/pam.d/crond
sed -i'' -re 's/APACHE_MODULES="(.*)"/APACHE_MODULES="\1 php5 rewrite proxy mod_proxy_http access_compat"/' /etc/sysconfig/apache2
sed -i'' -rf /opt/scripts/override.sed /etc/apache2/default-server.conf
sed -i'' -re 's/short_open_tag\s*=.*/short_open_tag = On/' /etc/php5/apache2/php.ini
+sed -i'' -re 's@session.save_path\s*=.*@session.save_path=/tmp@' /etc/php5/apache2/php.ini