<?php
/*
Plesk Sub & Domain Manager (Version see config.inc.php) - Extended Sub & Domain management for Parallels Plesk 7.x and higher
Copyright (C) [2006-2009] [Matthias Hackbarth / www.haggybear.de]
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 3 of the License, or (at your option) any later version.
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, see <http://www.gnu.org/licenses/>.
*/
error_reporting(0);
define("DB_USR", "admin");
define("DB_PWD", trim(exec ("cat /etc/psa/.psa.shadow")));
define("DB_NAME", "psa");
define("DB_HOST", "localhost");
define("DOCROOT", "/var/www/vhosts/{DOMAIN}/");
define("SUDO_VERSION","1.8");
// define your language file, ex: en; ro; de;
define("LANG", "de");
define("PHP4MOD","mod_php4.c");
// You have to try it out which you have. To make sure, have a look in one of you httpd.include of you domains
// "mod_php4.c" for Server4You
// "sapi_apache2.c" for HostEurope
define("TDB_PATH","/usr/bin/php5"); //Path to your TDB-Engine if you have!
define("TDB_BIN","tdbengine"); // Name of your TDB-Engine Binary if you have!
define("PHP5_PATH","cgi-bin/"); //Path to your PHP5-Engine if you have!
define("PHP5_BIN","php5"); // Name of your PHP5 Binary if you have!
define("PSA_PATH",trim(exec ("grep PRODUCT_ROOT_D /etc/psa/psa.conf | sed 's/^[\t]*[A-Z_]*[\t]*//'"))."/");
define("PSA_VERSION",substr(trim(exec ("cat ".PSA_PATH."version")),0,1));
define("PSA_ADMIN_USER","PSAptADM");
define("PSA_ADMIN_WIDCARDS","NO");
define("ERROR_DEBUG",0);
?>