46 lines
1005 B
PHP
46 lines
1005 B
PHP
<?php
|
|
|
|
// Basic settings
|
|
// You must set these for the server to work
|
|
|
|
$databaseServer = "localhost";
|
|
$databaseUsername = "testUser";
|
|
$databasePassword = "testPassword";
|
|
$databaseName = "test";
|
|
|
|
// The URL of to the server.php script.
|
|
$fullServerURL = "http://localhost/jcr13/demoServer/server.php";
|
|
|
|
// End Basic settings
|
|
|
|
|
|
|
|
// Customization settings
|
|
|
|
// Adjust these to change the way the server works.
|
|
|
|
|
|
// Prefix to use in table names (in case more than one application is using
|
|
// the same database). Two tables are created: "games" and "columns".
|
|
//
|
|
// If $tableNamePrefix is "test_" then the tables will be named
|
|
// "test_games" and "test_columns". Thus, more than one server
|
|
// installation can use the same database (or the server can share a database
|
|
// with another application that uses similar table names).
|
|
$tableNamePrefix = "demoServer_";
|
|
|
|
|
|
$enableLog = 1;
|
|
|
|
// for web-based admin access
|
|
$accessPassword = "secret";
|
|
|
|
|
|
|
|
// secret shared with game code
|
|
$sharedSecret = "secret 2";
|
|
|
|
|
|
|
|
|
|
?>
|