forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Lowri on September 03, 2005, 12:14:36 am

Title: custom header - did as FAQ said - now got an error
Post by: Lowri on September 03, 2005, 12:14:36 am
I followed instructions in the FAQ section on how to include my own header. I now get an error from the code suggested.

Quote
Parse error: parse error, unexpected '(', expecting ',' or ';' in /home/mjbhos2/public_html/letsgetwet/gallery/themes/classic/theme.php on line 813

The line it refers to is:
Code: [Select]
static $custom_header = ob_get_contents();
Please help... even if its just to get it back how it was...
Title: Re: custom header - did as FAQ said - now got an error
Post by: Nibbler on September 03, 2005, 12:31:59 am
Split that into 2 lines

Code: [Select]
static $custom_header;
$custom_header = ob_get_contents();
Title: Re: custom header - did as FAQ said - now got an error
Post by: Lowri on September 09, 2005, 11:59:50 pm
thanks :)