Svenskaflicka
Fountain
- Joined
- Jun 9, 2002
- Posts
- 16,142
Liar said:Depends on what the file contains.
This:
<?php
/*****************************************************
** Title........: Configuration File
** Filename.....: config.php
** Author.......: Ralf Stadtaus
** Homepage.....: http://www.stadtaus.com/
** Contact......: mailto:info@stadtaus.com
** Version......: 0.4
** Notes........: This file contains the configuration
** Last changed.: 2004-01-19
** Last change..: Vote information
*****************************************************/
/*****************************************************
** Script configuration - for the documentation of
** following variables please take a look at the
** documentation file in folder 'docu'.
*****************************************************/
$vote_title = 'The Half Blood Prince';
$vote_text = 'Who is the Half Blood Prince?';
$vote_option[] = 'Seamus Finnigan';
$vote_option[] = 'Dean Thomas';
$vote_option[] = 'Rubeus Hagrid';
$vote_option[] = 'Someone we have met but whose ancestry we are not familiar with yet';
$vote_option[] = 'Someone we have never met before';
$intern_vote_name = 'half_blood_prince';
$form_field_type = 'radio'; // (radio, select, readio_image)
$bar_image_name = 'blue.gif';
$max_bar_width = '200'; // (pixel)
$check_ip_address = 'yes'; // (yes/no)
$check_cookie = 'yes';
$language = 'en'; // (de, en, hu, nl, no, pl, sv, tr)
$path['templates'] = './templates/';
$path['logfiles'] = './logfiles/';
$tmpl['layout'] = 'voting.tpl.html';
$log['logfile'] = 'log.txt';
$show_error_messages = 'yes';
/*****************************************************
** Add here further words, text, variables and stuff
** that you want to appear in the template.
*****************************************************/
$add_text = array(
'txt_additional' => 'Additional', // {txt_additional}
'txt_more' => 'More', // {txt_more}
'txt_script_name' => 'Voting Script'
);
/*****************************************************
** Send safety signal to included files
*****************************************************/
define('IN_SCRIPT', 'true');
/*****************************************************
** Include script code
*****************************************************/
$script_root = './';
include($script_root . 'inc/core.inc.php');
?>