From 597b688b54104857572675b67645c8318af91d1d Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Wed, 23 Apr 2014 19:02:55 +0530 Subject: [PATCH] Fixed Timezone Error #203 --- usr/local/sbin/easyengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 1ffc03d7..88ee4d41 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -378,7 +378,7 @@ COMMONPHP() if [ $? -ne 0 ] then - TIME_ZONE=$(cat /etc/timezone | sed "s'/'\\\/'") + TIME_ZONE=$(cat /etc/timezone | head -n1 | sed "s'/'\\\/'") # Move PHP’s Session Storage To Memcache sed -i "/extension/a \session.save_handler = memcache\nsession.save_path = \"tcp://localhost:11211\"" /etc/php5/mods-available/memcache.ini