Show
Ignore:
Timestamp:
01/31/2008 06:35:42 PM (11 months ago)
Author:
Shadowhand
Message:

Instead of unsetting the database password, clear the entire connection array.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Database/Mysql.php

    r1881 r1895  
    7070                        } 
    7171 
    72                         // Clear password after successful connect 
    73                         $this->db_config['connection']['pass'] = NULL; 
     72                        // Clear connection after successful connect 
     73                        $this->db_config['connection'] = NULL; 
    7474 
    7575                        return $this->link;