-
Notifications
You must be signed in to change notification settings - Fork 8
/
settings.php
35 lines (27 loc) · 1.4 KB
/
settings.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
<?php
#This is the lotgd configuration file which you have to edit for several settings
$game_dir='/var/www/html/naruto';
//enter here the directory of your datacache, this cannot be done elsewhere
$DB_TYPE='mysqli_proc';
/* * * *
* Avaiable values for DBTYPE:
*
* - mysql: The default value. Are you unsure take this.
* - mysqli_oos: The MySQLi extension of PHP5, object oriented style
* - mysqli_proc: The MySQLi extension of PHP5, procedural style
*
If you encounter problems with one of them, please let the developer know at http://nb-core.org
Any other than "mysql" seem to be not perfectly integrated somehow, but work most of the time.
*/
$gz_handler_on=0;
/* set to 1 if you want to enable gzip compression to save bandwith (~30-50%), but it costs slightly more processor power for PHP to get it done. z_lib in apache is favoured if you have direct access to your machine.
Actually, if you can set this to 0 and add these lines in i.e. /etc/php5/apache2/conf.d into a randomly named .ini file:
zlib.output_compression = 1
zlib.output_compression_level = 7
for instance. And then do an "apache2 -k graceful" and check with phpinfo() to see if it worked.
*/
/* The default skin which gets selected if you have NO skin accessible / configured or the database simply does not exist to select a default skin.
This will also be used in cases of database outages and so forth
*/
$_defaultskin="modern.htm";
?>