Theres nothing wrong with the $globaltemplates array. Look four lines down and you see the array is closed by that ");". Furthermore the error is on line 2 whereas $globaltemplates is much further down.
RE: Original Post. What are you using to edit the script? Maybe that is causing some kind of error. I don't think its related to the actual syntax because it is running for someone else so it might have something to do with file encoding or something. Try opening it in notepad, copying all the contents to a new notepad document and then saving the notepad document over the old PHP file. (P.S.: I'm just in guessing territory here, but anything is worth try.)
|