<?php 
/************************************
 pragmaMx  Content Management System
 Copyright (c) 2005 pragmaMx Dev Team - http://pragmaMx.org
 ***********************************
 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, or
 (at your option) any later version.
 ***********************************
 $Source: /home/cvs/pragmamx/Avatar/moreconfig.php,v $
 $Revision: 1.4 $
 $Author: bowlingx $
 $Date: 2005/11/11 20:09:32 $
 
 This Modul is Copyright (c) 2003 - 2005 by David Heidrich; Myself Design
 Visit http://www.myself-design.com for Updates
 
 This program 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 this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
************************************/
if (!defined("mxMainFileLoaded") && !defined("AV_THUMB_LOADED")) die ("You can't access this file directly...");
// Konfigurationen die NICHT verändert werden sollten: (möglicherweise funktioniert das Modul danach nicht wie gewünscht)
// Sessionvariabeln:
define("AV_SESSION_NAME","avatar_upload_error");
define("AV_SESSION_NAME_THUMB","avatar_upload_thumb_error");
// Linke Blöcke anzeigen?
$index = 0;
$modul_version = "2.4.3";
$utable = "uname"; 
// Wie heißt das Your_Account Modul?
$yaccountName = "Your_Account";
$xthisfile = (PHP_OS == "WINNT" || PHP_OS == "WIN32") ? str_replace("\\", "/", dirname(__file__)) : dirname(__file__);
$realAvatarDir = str_replace("modules/" . basename(dirname(__FILE__)), "", $xthisfile);
# Hier den Pfad angeben wo die Avatare gespeichert werden sollen:
$Site_URL = "images/forum/member_avatar";
$datei_verz = $realAvatarDir . "" . $Site_URL; //Absoluter Pfad zur Datei (keine URL!)
// $datei_url = $Site_URL; //URL (zur Bildanzeige)
$table = $GLOBALS['prefix']."_avatar";
$table_comments = $GLOBALS['prefix']."_avatar_comments";
$noUploadPicture = "blank.gif";
unset($realAvatarDir);
unset($xthisfile);

?>