Remove PHP 5.4 [] array syntax from main.php