Replaced php5.4 array notaion with php5.3 one