Jump to content

Ideal Config File...


Ocean West
 Share

Recommended Posts

What is the ideal config file? One is leftover from upgrade - the other is on a fresh install.

is there anything missing?

<?php
ini_set('display_errors', '0'); 
//$INFO['disable_js_injection'] = '1';
$INFO['sql_driver']			=	'mysql';
$INFO['sql_host']			=	'localhost';
$INFO['sql_database']		=	'THE_DATABASE';
$INFO['sql_user']			=	'THE_USER';
$INFO['sql_pass']			=	'THE_PASSWORD';
$INFO['sql_tbl_prefix']		=	'';
$INFO['sql_debug']			=	'0';
$INFO['sql_charset']		=	'UTF8';
$INFO['board_start']		=	'1290921009';
$INFO['installed']			=	'1';
$INFO['php_ext']			=	'php';
$INFO['safe_mode']			=	'0';
$INFO['board_url']			=	'http://SOME_SITE.com/';
$INFO['banned_group']		=	'5';
$INFO['admin_group']		=	'4';
$INFO['guest_group']		=	'2';
$INFO['member_group']		=	'20';
$INFO['auth_group']			=	'1';
$INFO['use_friendly_urls']	=	'1';
$INFO['_jsDebug']			=	'0';
$INFO['mysql_tbl_type']		=	'InnoDB';
define('IN_DEV', 0);
?>
<?php
$INFO = array (
  'sql_host' => 'localhost',
  'sql_database' => 'THE_DATABASE',
  'sql_user' => 'THE_USER',
  'sql_pass' => 'THE_PASSWORD',
  'sql_port' => 3306,
  'sql_socket' => '/var/tmp/mysql.sock',
  'sql_tbl_prefix' => '',
  'sql_charset' => 'UTF8',
  'board_start' => 1290921009,
  'installed' => true,
  'base_url' => 'http://SOME_SITE.com/',
  'guest_group' => 2,
  'member_group' => 20,
  'admin_group' => 4,
);
?>

the latter is slightly modified to accommodate my settings

  'member_group' => 3,    i am defaulting members to group 20 then promoting them to group 2 after 5 posts.

  'sql_utf8mb4' => true,  i am not sure i am using the UTF8MB4 I think i am only using UTF8...

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...