<commit_before><?php
// check for invalid entry point
if(!defined("HMS")) die("Invalid entry point");

// main configuration file

ini_set('display_errors',1);

$cIncludePath = "include";
$cFilePath = __DIR__;
$cScriptPath = $_SERVER['SCRIPT_NAME'];

$pparts = pathinfo($_SERVER["SCRIPT_NAME"]);
$cWebPath = $pparts["dirname"] == "/" ? "" : $pparts["dirname"];

// database details
$cDatabaseConnectionString = 'mysql:host=dbmaster.helpmebot.org.uk;dbname=dvs_hotel';
$cMyDotCnfFile = ".my.cnf";

// array of global scripts to be included
// Global scripts are included first, then local scripts second
$cGlobalScripts = array(
	'http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js', 
	$cWebPath.'/scripts/jquery.slideViewerPro.1.5.js', 
	$cWebPath.'/scripts/jquery.timers-1.2.js', 
	$cWebPath.'/scripts/imageslider.js',
	);

$cGlobalStyles = array(
	$cWebPath.'/style/svwp_style.css',
	);
	
$cAvailableLanguages = array(
	'en-GB' => "English (British)",
	'fi' => "Suomi",
	);
	
// change this before using it on a live system! this is for test purposes only.
$cCardEncryptionKey = base64_decode(
	"<KEY>".
	"<KEY>".
	"<KEY>".
	"<KEY>XCJcMjI2XDMwNFwzNDJcMjcxXDM1N1wyOlVJXDIzNVwzNjZcMzMy".
	"flowIyR2XDMzM1wyMzR6XDM3NVwiNFwzMTZcMzQ3cVwyNTMsSVwzMTFcMjQ3XDI0".
	"NFwzMTBcMzBcMjQyXDMxNFwyMDRcMjI1XDM3KlwzMTFcNFwyNzJcMitcMzQ3XDMz".
	"MVwyNjNcMzQ1XDI1N1wyMDRcMjUxXDIwNFwzMTUzXDM2MlwyNjNcMjczXDIxM1wy".
	"MzFQXDIwMUFgXDM0NGxcMjVcMzUzXDIyMVwzN1w2LVwyMTRcMzI3b1wzNzN2XDMz"
	);
	
// autoload function handles all the silly require stuff for us automatically;
function autoLoader($class_name)
{
	global $cIncludePath;
	require_once($cIncludePath . "/" . $class_name . ".php");
}

// not caught by the above :(
require_once('smarty/Smarty.class.php');

spl_autoload_register("autoLoader");<commit_msg>local config - I broke it<commit_after><?php
// check for invalid entry point
if(!defined("HMS")) die("Invalid entry point");

// main configuration file

ini_set('display_errors',1);

$cIncludePath = "include";
$cFilePath = __DIR__;
$cScriptPath = $_SERVER['SCRIPT_NAME'];

$pparts = pathinfo($_SERVER["SCRIPT_NAME"]);
$cWebPath = $pparts["dirname"] == "/" ? "" : $pparts["dirname"];

// database details
$cDatabaseConnectionString = 'mysql:host=dbmaster.helpmebot.org.uk;dbname=dvs_hotel';
$cMyDotCnfFile = ".my.cnf";

// array of global scripts to be included
// Global scripts are included first, then local scripts second
$cGlobalScripts = array(
	'http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js', 
	$cWebPath.'/scripts/jquery.slideViewerPro.1.5.js', 
	$cWebPath.'/scripts/jquery.timers-1.2.js', 
	$cWebPath.'/scripts/imageslider.js',
	);

$cGlobalStyles = array(
	$cWebPath.'/style/svwp_style.css',
	);
	
$cAvailableLanguages = array(
	'en-GB' => "English (British)",
	'fi' => "Suomi",
	);
	
// change this before using it on a live system! this is for test purposes only.
$cCardEncryptionKey = base64_decode(
	"<KEY>".
	"<KEY>".
	"<KEY>".
	"<KEY>".
	"<KEY>".
	"<KEY>".
	"<KEY>".
	"<KEY>"
	);
	
///////////////// don't put new config options below this line

if(file_exists("config.local.php")
{
	require_once("config.local.php");
}

// autoload function handles all the silly require stuff for us automatically;
function autoLoader($class_name)
{
	global $cIncludePath;
	require_once($cIncludePath . "/" . $class_name . ".php");
}

// not caught by the above :(
require_once('smarty/Smarty.class.php');

spl_autoload_register("autoLoader");
{'fraction_non_alphanumeric': 0.16767676767676767, 'fraction_numerical': 0.012698412698412698, 'mean_word_length': 5.102112676056338, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '554766', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1380, 'n_words': 239}