about summary refs log tree commit diff stats
path: root/data/README.md
blob: bf0a51b93b4f930e8a896b7067249cc5f0bf0e7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Lingo 2 Randomizer Data

This folder contains the logic for the Lingo 2 randomizer in a human-readable
format. This data is compiled into a single file and used in the v
<?php

/* InstaDisc Server - A Four Island Project */

if (!extension_loaded('curl'))
{
	die('Sorry, but the PHP Extension "curl" is required for InstaDisc Server and you don\'t have it installed.');
}

if (!file_exists('includes/config.php'))
{
	header('Location: install.php');
	exit;
}

if (file_exists('install.php'))
{
	die('Excuse me, but you need to delete install.php before you can use this as leaving install.php there is a biiiig security hole.');
}

session_start();

include('includes/config.php');

mysql_connect($dbhost, $dbuser, $dbpass);
mysql_select_db($dbname);

?>