Source for file conf.dist.php
Documentation is available at conf.dist.php
* HRDI Observational Database configuration file.
* This file contains the configuration options used for the HRDI Observational
* Database. All configurable elements can be changed by editing this file. The
* look and feel of the UI should be changed by editing the CSS file. This file
* should be copied to 'conf.php' and then edited for the given setup. The code
* reads 'conf.php', while the documentation parser reads 'conf.dist.php'.
* This file is part of HRDIODB.
* HRDIODB is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* HRDIODB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with HRDIODB; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Database configuration options.
* The data source name is used by PEAR to connect to the database.
$dsn= "mysql://$username:$password@$server/$database";
* The Unix time stamp of UARS Day 1 (September 12th, 1991)
* @global string $day1_ts
* The e-mail address of the HRDI admin who should be contacted in case of
* @global string $hrdi_admin
$hrdi_admin = "user@domain.edu";
* Random password length.
* The desired length of the randomly generated password which is sent to users
* who reset their password.
* @global integer $pass_length
* This e-mail address user in The 'From' address of the password reset e-mail.
* @global string $mail_from
$mail_from = $hrdi_admin;
* The string used in the 'Subject' of the password reset e-mail.
* @global string $mail_subject
$mail_subject = "Some subject";
* This is the plain text used in the 'Body' of the e-mail message. The
* (case sensitive) text RANDOM_PASS will be replaced with the actual
* randomly generated password.
* @global string $mail_message
$mail_message = "This is your new password: RANDOM_PASS";
* The desired maximum size of downloadable archives in megabytes. This size
* should be at minimum as large as the sum of all the average sizes of the
* files that can be attached to a single day.
* @global integer $max_archive_size
* The prefix where compressed archives will be kept, available for download.
* This location will be periodically cleaned, but it should be capable of
* storing large amounts of data. It should also be writeable by the Apache
* @global string $archive_prefix
$archive_prefix = "/var/www/downloads";
* Temporary archive prefix.
* The prefix where the archives are kept while being created. Once they are
* done being created, the files will be moved to $archive_prefix. This
* location should be capable of storing large amounts of data. It should also
* be writeable by the Apache user and/or group.
* @global string $temp_prefix
* Archive download prefix.
* The prefix where the compressed archives will be visible to the users. This
* should be a symbolic link or an Apache alias pointing to the archive prefix
* specified in $archive_prefix.
* @global string $download_prefix
$download_prefix = "/downloads";
* User e-mail domain checking.
* When a user enters an e-mail to register, the domain of the e-mail can be
* checked by doing a DNS lookup. This is a nice way to ensure that the e-mail
* address at least has a chance of being real. It should not cause any
* problems as long as the DNS servers are working.
* @global bool $check_dns
* The prefix where offline day and week pages will be created. This directory
* only needs to be writeable by the user and/or group running the offline page
* @global string $offline_prefix
$offline_prefix = "offline";
* Minimum number of mode rows.
* This variable specifies the minimum number of rows that should be displayed
* in the modes table. If the number of modes for the day is less than this
* number, additional empty rows will be displayed.
* Minimum number of file rows.
* This variable specifies the minimum number of rows that should be displayed
* in the files table. If the number of files for the day is less than this
* number, additional empty rows will be displayed.
* Minimum number of link rows.
* This variable specifies the minimum number of rows that should be displayed
* in the links table. If the number of links for the day is less than this
* number, additional empty rows will be displayed.
* This array associates primary keys with HRDI tables. When an entry is being
* processed by the CSV parser, it is looked up by the table key. If the key
* exits, an update is performed. If the key does not exist, an insert is
* @global array $table_keys
$table_keys = array("HRDI_Days" => "UARS_Day",
"HRDI_Downloads" => "ID",
"HRDI_FileTypes" => "ID",
"HRDI_Files" => "Filename",
* CSV single line character limit.
* This integer specifies the largest possible character length to be expected
* in a single line of a CSV file.
* @global integer $csv_line_character_limit
$csv_line_character_limit = 10000;
|