distancefinder/bootstrap.php
2016-05-24 00:51:25 +02:00

23 lines
579 B
PHP

<?php
define('DB_HOST', 'localhost');
define('DB_NAME', '');
define('DB_USER', '');
define('DB_PASSWORD', '');
define('CSVFILE', 'df_geocities.csv');
define('WEBPATH', rtrim(str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']), '/') . '/');
define('DIRPATH', str_replace(basename(__FILE__), '', __FILE__));
define('DISTANCES_FILE', 'distances.txt');
define('LOCATIONS_FILE', 'towns.txt');
define('DB_ERRORS_FILE', 'db-errors.txt');
define('NEWLINE', "\n");
require_once 'db-functions.php';
require_once 'functions.php';
dbConnect();