<?php
/**
* phparchive: Installation Parameters
* This module is to configure the main options for your site
*
* Copyright (c) 2002, 2003 by Vincenzo D'Amore (hide@address.com)
*
* http://phparchive.sourceforge.net
* http://phpwebarchive.sourceforge.net
*
* This program 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.
*
* @version $Id: config.inc.php,v 1.4 2004/01/18 15:46:20 freedev Exp $
* @author Vincenzo D'Amore <hide@address.com>
* @package config
*
*
* NOTE: You may copy this file in config.custom.inc.php and after use
* this new file to setup your configuration.
* This will prevent overwriting of your configuration file if you
* upgrade to a newer phparchive version.
* Have fun :-)
*/
/**
* Your phparchive url - WA_ABSOLUTE_URI
*
* Complete the variable below with the full url ie
* http://www.your_web.net/path_to_your_phparchive_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*
* In most cases you can leave this variable empty, as the correct value
* will be detected automatically. However, we recommend that you do
* test to see that the auto-detection code works in your system. There will be
* an error message if phparchive cannot auto-detect the correct value.
*/
$GLOBALS['WA_ABSOLUTE_URI'] = "http://www.your_web.net/path_to_your_phparchive_directory/";
/**
* SQL database hostname - WA_CONF_DBNAME
*/
$GLOBALS['WA_CONF_DBHOST'] = "localhost";
/**
* SQL database Name - WA_CONF_DBNAME
*/
$GLOBALS['WA_CONF_DBNAME'] = "phparchive";
/**
* SQL username - WA_CONF_DBUSER
*/
$GLOBALS['WA_CONF_DBUSER'] = "root";
/**
* SQL password - WA_CONF_DBPASS
*/
$GLOBALS['WA_CONF_DBPASS'] = "";
/**
* Database type - WA_CONF_DBTYPE
*
* Here is a list of supported types:
* MYSQL - MySql;
* ODBC - ODBC (i.e. Access);
* ORACLE - Oracle;
* OCI - Oracle Call Interface;
*
* Currently MYSQL is the usual.
*/
$GLOBALS['WA_CONF_DBTYPE'] = "MYSQL";
/**
* Define your language location - WA_LOCATION
*
* There are only two currently defined location:
* EN - English
* IT - Italian
*/
$GLOBALS['WA_LOCATION'] = "EN";
/**
* Manage uploads?
*
* If you are in doubt leave FALSE.
* With this option phparchive can upload files.
* If you define in your forms a file/image field you must set this
* option TRUE and set correctly next options WA_UPLOAD_DIR and
* WA_DOWNLOAD_URI
*/
$GLOBALS['WA_UPLOAD_FILES'] = FALSE;
/**
* Your phparchive Upload System Store Dir
*
* This directory will be used to share store the documents uploaded
* All this path must have execute permission for webserver user and
* the uploads directory must be shared with read, write and execute
* permissions.
*/
$GLOBALS['WA_UPLOAD_DIR'] = "/home/user/public_html/wa/web/uploads";
/**
* Your phparchive Download URL
*
* This directory is the web entry point for your phparchive Upload
* System Store Dir
*
*/
$GLOBALS['WA_DOWNLOAD_URI'] = "http://www.your_web.net/path_to_your_phparchive_download_directory/";
/**
* Manage sessions?
*
* If you are in doubt leave FALSE.
* Actually therea are two methods to spread a session id: Cookies and URL parameter.
* Sometimes your php installation can handle only cookie and you need to have more
* users connected with different accounts.
* Setting TRUE this option, phparchive will add PHP Session ID in handled URL
* without using standard PHP transient sid support.
*/
$GLOBALS['WA_PRIVATE_SESSIONS'] = FALSE;
/**
* Store sessions in a separate and private directory?
*
* You can specify this option if you want store sessions in a separate and private
* directory (AKA session.save_path).
* Remember: if you want manage sessions in a separate directory you must give
* all (rwx) privilege to web/php user.
*/
$GLOBALS['WA_DIRECTORY_SESSIONS'] = "";
// ************************************************************************************
/*
* For advanced users only, don't touch this if you don't know what you are doing.
*
* Here you may set some of your favorite session options.
*
*/
// ini_set("session.use_cookies", "0");
//
// ini_set("session.use_only_cookies", "0");
//
// ini_set("session.use_trans_sid", "0");
//
// ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=fakeentry");
?>