Jump to content

Updating conf_global to match the newly generated


Tarun

Recommended Posts

So I've been going through everything getting it cleaned up, updated, fine tuned, etc. I took a look at my conf_global and decided to update it. Though I'd like feedback about what to keep and what to remove. I've removed some information for the sake of keeping it secure.

What I did was cross reference a clean test install I did earlier to check database tables.

Before:

<?php
$INFO['sql_driver']			= 'mysql';
$INFO['sql_host']			= 'localhost';
$INFO['sql_database']		= 'Database';
$INFO['sql_user']			= 'Username';
$INFO['sql_pass']			= 'Password';
$INFO['sql_tbl_prefix']		= 'prefix';
$INFO['sql_debug']			= '1';
$INFO['sql_charset']		= 'utf8mb4';
$INFO['sql_utf8mb4']		= true;
$INFO['board_start']		= '000';
$INFO['installed']			= '1';
$INFO['php_ext']			= 'php';
$INFO['safe_mode']			= '0';
$INFO['board_url']			= 'http://forums.lunarsoft.net';
$INFO['banned_group']		= '5';
$INFO['admin_group']		= '4';
$INFO['member_group']		= '3';
$INFO['guest_group']		= '2';
$INFO['auth_group']			= '1';
$INFO['use_friendly_urls']	= '1';
?>

 

After:

$INFO = array (
  'sql_host' => 'localhost',
  'sql_database' => 'Database',
  'sql_user' => 'Username',
  'sql_pass' => 'Password',
  'sql_port' => 3306,
  'sql_socket' => '/var/run/mysqld/mysqld.sock',
  'sql_tbl_prefix' => 'prefix',
  'sql_utf8mb4' => true,
  'board_start' => 000,
  'installed' => true,
  'base_url' => 'http://forums.lunarsoft.net/',
  'guest_group' => 2,
  'member_group' => 3,
  'admin_group' => 4,
);

 

Thanks all for the advice. ^_^

Link to comment
Share on other sites

  • 2 weeks later...

@Nathan Explosion - Thanks, good to hear. I was a bit concerned about the removal of a few lines that may need to stay but haven't presented any issues as of yet.

One such concern was using utf8mb4. Currently I don't have the line in the After version, but will add it if needed. Was also unsure about the groups, if they are even needed anymore in the conf file.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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