<?

/*
 * Warning ** Warning ** Warning ** Warning ** Warning ** Warning *
 *                                                                *
 * -> this webinterface is ment to be a sample implementation  <- *
 *                                                                *
 * Warning ** Warning ** Warning ** Warning ** Warning ** Warning *
 *
 *
 * Copyright (C) 2006 Tino Reichardt
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License Version 2, as
 * published by the Free Software Foundation.
 *
 * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 */


/**
 * Configuration of the Squidwall Web Interface
 */


/**
 * external path to the deny.php page
 */
$denypath="http://192.168.100.6/inet";


/**
 * internal path to a logfile, created by deny.php
 */
$logpath="/tmp";


/**
 * default language (see ./lang.php)
 * "de" -> deutsch
 * "en" -> englisch
 */
$lang="en";


/**
 * external path to the webinterface
 * ""       -> http://squidwall/
 * "/inet/" -> http://ip/inet/
 */
$P_EXT="/inet";


/**
 * path to the webinterface (internal stuff)
 */
$P_INT="/etc/squidwall/webinterface";


/**
 * path configuration
 */
$P_SQUIDWALL="/etc/squidwall";
$P_CONTROL="$P_SQUIDWALL/control";
$P_REDIR="$P_SQUIDWALL/redirects";
$P_FILTER="$P_SQUIDWALL/filters";
$P_HOSTS="$P_SQUIDWALL/hosts";
$P_USERS="$P_SQUIDWALL/users";

/**
 * these shouldn't be changed!
 */
$P_CACHE="/var/cache/squidwall";
$P_SES="$P_INT/sessions";
$F_AUTH="$P_INT/users.csv";


/**
 * path to the pppd_stats.log (see my pppd patch)
 */
$F_PPPD="/var/log/pppd_stats.log";


/**
 * colors
 */
$CT_BORDER="#555555";
$CT_INTERN="#ffffff";


/**
 * some initializing
 */
if (!isset($no_init)) {
  include("$P_INT/init.php");
}

?>
