summaryrefslogtreecommitdiffstats
path: root/abs/core/php/php.install
blob: 772c0ea6088d38ffc728e2d3055d684089900430 (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/php.ini ]
        then
            sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/php.ini
        fi
    fi
}

post_upgrade() {
	post_install
}