summaryrefslogtreecommitdiffstats
path: root/abs/core/php/php.install
blob: 4f4696ba41f4b10924884cb2ac72fac9351ef319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    if [ -f /etc/systemconfig ]
    then
        . /etc/systemconfig
        if [ -f /etc/php/conf.d/linhes.ini ]
        then
            sed -i 's|^.*date.timezone.*=.*$|date.timezone='${timezone}'|' /etc/php/conf.d/linhes.ini
        fi
    fi
}

post_upgrade() {
	post_install
}