<?php
// ----------------------------------------------------------------------------
// Copyright (C) 2013, Vinos de Frutas Tropicales
// Created expressly for PB Publishing, xcountryski-vermont.com.
// ----------------------------------------------------------------------------

// ----------------------------------------------------------------------------
// Program configuration information
// ----------------------------------------------------------------------------
if ($_SERVER['HTTP_HOST'] == 'localhost') {
  define('BASE_PATH', 'localhost/xcountryski');          // The base/reference path for the install, no trailing /
  define('BASE_PATH_FS', 'c:/xampp/htdocs/xcountryski/'); // The base/reference file-system path, don't forget the trailing slash!
  
} else {
  define('BASE_PATH', 'http://xcountryski-vermont.com');
  define('BASE_PATH_FS', '/var/www/vhosts/10/225649/webspace/httpdocs/');
}

// -----
// No need to edit below this point!
// -----
define('INCLUDES_PATH', BASE_PATH_FS . 'includes/');
  define('DB_PATH', INCLUDES_PATH . 'db/');
    define('DB_MAIN', DB_PATH . 'db_main.ini');
  define('EXTRA_PAGE_PATH', '');
  define('TEMPLATE_PATH', INCLUDES_PATH . 'templates/');
    define('CENTER_TEMPLATE', TEMPLATE_PATH . 'center_template.htm');
    define('MAIN_TEMPLATE', TEMPLATE_PATH . 'main_template.htm');
    define('PAGE_TEMPLATE', TEMPLATE_PATH . 'page_template.htm');
define('ADMIN_PATH', BASE_PATH_FS . 'xcsadmin/');

define('LOG_PATH', BASE_PATH_FS . 'logs/');             // The path to the log-related files

define('ADMIN_NAME', 'admin');