<?php

/***************************************************************************

 config.php
 -----------
 copyright : (C) 2002-2003 The ezContents Development Team

 ***************************************************************************/

/***************************************************************************
 The ezContents Development Team offers no warranties on this script.
 The owner/licensee of the script is solely responsible for any problems
 caused by installation of the script or use of the script.

 All copyright notices regarding ezContents must remain intact on the
 scripts and in the HTML for the scripts.

 For more info on ezContents,
 visit http://www.ezcontents.org/

/***************************************************************************

/***************************************************************************
 *
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the License which can be found within the
 *	zipped package.
 *
 ***************************************************************************/

$GLOBALS["Version"]			= "Version 2.0.3";
$GLOBALS["gsAdminStyle"]		= "white";

// Database Configuration
$GLOBALS["dbPersistent"]		= "N";			//	Persistent database connections
								//		'Y'es or 'N'o
$GLOBALS["ezContentsDB"]		= "mysql";		//	Database server type
$GLOBALS["ezContentsDBServer"]		= "localhost";		//	IP Address of the database server
$GLOBALS["ezContentsDBName"]		= "ezcontents200";		//	Database name
$GLOBALS["ezContentsDBLogin"]		= "root";		//	Database system login
$GLOBALS["ezContentsDBPassword"]	= "";			//	Database system password


$GLOBALS["admin_home"]			= "admin/";		// admin directory
$GLOBALS["language_home"]		= "languages/";		// language base directory
$GLOBALS["image_home"]			= "contentimage/";	// user images
$GLOBALS["downloads_home"]		= "downloads/";		// user downloads
$GLOBALS["style_home"]			= "admin/styles/";	// Extra external style sheet
$GLOBALS["font_home"]			= "admin/styles/fonts/";	// Extra fonts
$GLOBALS["script_home"]			= "scripts/";		// external php script files
$GLOBALS["icon_home"]			= "images/";		// ezContents internal icons
$GLOBALS["modules_home"]		= "modules/";		// add-in modules base directory
$GLOBALS["backup_home"]			= "backup/";		// ezContents database backup directory
$GLOBALS["include_home"]		= "include/";		// include file base directory
$GLOBALS["sites_home"]			= "sites/";		// multi-site base directory
$GLOBALS["themes_home"]			= "themes/";		// multi-theme base directory


// ezContents Table Names
$GLOBALS["eztbPrefix"]			= '';
$GLOBALS["eztbMasterPrefix"]		= $GLOBALS["eztbPrefix"];
$GLOBALS["eztbSessions"]		= $GLOBALS["eztbMasterPrefix"]."sessions";
$GLOBALS["eztbSites"]			= $GLOBALS["eztbMasterPrefix"]."sites";
$GLOBALS["eztbVisitorstats"]		= $GLOBALS["eztbMasterPrefix"]."visitorstats";
$GLOBALS["eztbFunctiongroups"]		= $GLOBALS["eztbMasterPrefix"]."functiongroups";
$GLOBALS["eztbFunctions"]		= $GLOBALS["eztbMasterPrefix"]."functions";
$GLOBALS["eztbUsergroups"]		= $GLOBALS["eztbMasterPrefix"]."usergroups";
$GLOBALS["eztbPrivileges"]		= $GLOBALS["eztbMasterPrefix"]."userprivileges";
$GLOBALS["eztbCountries"]		= $GLOBALS["eztbMasterPrefix"]."countries";
$GLOBALS["eztbContinents"]		= $GLOBALS["eztbMasterPrefix"]."continents";
$GLOBALS["eztbLanguages"]		= $GLOBALS["eztbMasterPrefix"]."languages";
$GLOBALS["eztbModules"]			= $GLOBALS["eztbMasterPrefix"]."modules";
$GLOBALS["eztbAuthors"]			= $GLOBALS["eztbMasterPrefix"]."authors";
$GLOBALS["eztbThemes"]			= $GLOBALS["eztbMasterPrefix"]."themes";
$GLOBALS["eztbSettings"]		= $GLOBALS["eztbMasterPrefix"]."settings";
$GLOBALS["eztbUserdata"]		= $GLOBALS["eztbMasterPrefix"]."userdata";
$GLOBALS["eztbBanners"]			= $GLOBALS["eztbMasterPrefix"]."banners";
$GLOBALS["eztbTopgroups"]		= $GLOBALS["eztbMasterPrefix"]."topgroups";
$GLOBALS["eztbGroups"]			= $GLOBALS["eztbMasterPrefix"]."groups";
$GLOBALS["eztbSubgroups"]		= $GLOBALS["eztbMasterPrefix"]."subgroups";
$GLOBALS["eztbTagCategories"]		= $GLOBALS["eztbMasterPrefix"]."tagcategories";
$GLOBALS["eztbTags"]			= $GLOBALS["eztbMasterPrefix"]."tags";
$GLOBALS["eztbSidebartemplates"]	= $GLOBALS["eztbMasterPrefix"]."sidebartemplates";
$GLOBALS["eztbImageformattemplates"]	= $GLOBALS["eztbMasterPrefix"]."imageformattemplates";
$GLOBALS["eztbContents"]		= $GLOBALS["eztbMasterPrefix"]."contents";
$GLOBALS["eztbRatings"]			= $GLOBALS["eztbMasterPrefix"]."ratings";
$GLOBALS["eztbSpecialcontents"]		= $GLOBALS["eztbMasterPrefix"]."specialcontents";
$GLOBALS["eztbModuleSettings"]		= $GLOBALS["eztbMasterPrefix"]."modulesettings";
$GLOBALS["eztbFiletypes"]		= $GLOBALS["eztbMasterPrefix"]."filetypes";


// Other Configuration Variables
$GLOBALS["RECORDS_PER_PAGE"]		= 12;			// number of lines of content on admin list pages
// Tag block controls
$GLOBALS["tqBlock"]			= '[]';
$GLOBALS["tqBlock1"]			= substr($GLOBALS["tqBlock"], 0, 1);
$GLOBALS["tqBlock2"]			= substr($GLOBALS["tqBlock"], -1, 1);
$GLOBALS["tqCloseBlock"]		= '/';
$GLOBALS["tqSeparator"]			= '|';

$GLOBALS["locale"]			= '';			// Unix locale code if not using the machine default
											// value

$GLOBALS["ShowFilePermissions"]		= 'Y';
$GLOBALS["uploadmethod"]			= 'http:';				// Valid values are 'http:' and 'ftp:'
$GLOBALS["ftp"]["server"]			= 'localhost';
$GLOBALS["ftp"]["port"]				= 21;
$GLOBALS["ftp"]["username"]			= 'ezcontents';
$GLOBALS["ftp"]["password"]			= 'ezcontents';
$GLOBALS["ftp"]["ezContents_root"]	= 'ezcontents/2-03_mysql';


$imagedir = "/".$GLOBALS["image_home"];
$imageurl = "/".$GLOBALS["image_home"];
$scriptdir = "/include/htmlarea2Modified/popups/"; 
$scripturl = "/include/htmlarea2Modified/popups/"; 


$GLOBALS["bDebug"] = True;

if ($GLOBALS["bDebug"]) { error_reporting( E_ALL & ~ E_NOTICE ); }
else { error_reporting( E_ERROR | E_PARSE ); }

?>
