[Solar-talk] _PostCreate _autoCreate ver0.25 ver0.26?
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon Feb 5 04:37:03 PST 2007
On 2/5/07, Jeff Surgeson wrote:
> I put in the following in my config file
> $config['Solar_Sql_Table']['autoconnect'] = true;
Note that 'autoconnect' is a configuration from Abovo_Sql_table, not
Solar_Sql_Table. You need to add this key to your tables configuration
if you want to turn it off later (imo it's a good idea) and then:
protected function _setup()
{
// ...do the setup
// autoconnect and create tables
if ($this->_config['autoconnect'] === true) {
$this->_connect();
}
}
rodrigo
More information about the solar-talk
mailing list