Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: falguni1 - lokakuu 18, 2007, 09:32:07 AP

Otsikko: explaination needed
Kirjoitti: falguni1 - lokakuu 18, 2007, 09:32:07 AP
hello,
wen I open board index.php I see a function
function template_init()
I want to know why is it used and

$settings['use_default_images'] = 'never';
why is this st to never. :P
Otsikko: Re: explaination needed
Kirjoitti: spottedhog - lokakuu 21, 2007, 08:34:30 AP
template_init() initiates some variables used within the other templates.

"never" is set when the theme has its own images to use, otherwise, SMF will use the images in the default theme.
Otsikko: Re: explaination needed
Kirjoitti: falguni1 - lokakuu 23, 2007, 08:48:37 AP
thank you too much