forked from RitsuTainaka/sldb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
51 lines (43 loc) · 1.3 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* SLDB: SIMPLE DATABASE STORAGE FOR LSL
*
* Copyright (C) 2009 aubreTEC Labs
* http://aubretec.com/products/sldb
*
* This program is free software. You can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License.
*/
/**
* DATABASE CONFIGURATION
*
* SLDB assumes you will be using a MySQL database. For other database
* types, some adjustments may be necessary.
*
* db_host: Database hostname
* db_user: Database username
* db_pass: Database password
* db_name: Database name
*/
$db_host = 'localhost';
$db_user = 'root';
$db_pass = 'root';
$db_name = 'sldb';
$db_table = 'data';
/**
* SECRET PASSPHRASE
*
* Define a passphrase used in the requests to thwart sneaky people who may try
* to access your data by guessing the address of your sldb.
*
* This isn't exactly military-grade security, by the way. If you're storing
* sensitive data like names, passwords, or credit card numbers, boy are YOU
* using the wrong setup.
*
* Note: because of limitations of passing this through HTTP request, the secret
* passphrase cannot contain certain symbols. Best to use captial and lowercase
* letters and numbers if you're having trouble.
*/
$secret = "Luc1s4w3s0m3";
?>