Ignore:
Timestamp:
Mar 21, 2010, 10:15:54 PM (14 years ago)
Author:
patdenice
Message:

feature 1255: add pwg_select_db function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r5215 r5230  
    106106// Database connection
    107107$pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'],
    108                               $conf['db_password'], $conf['db_base'])
    109   or my_error('pwg_db_connect', true);
     108                              $conf['db_password'], $conf['db_base']);
     109pwg_select_db($conf['db_base'], $pwg_db_link);
    110110
    111111pwg_db_check_charset();
Note: See TracChangeset for help on using the changeset viewer.