Development

HowToRetrieveaCreoleConnection (diff)

You must first sign up to be able to contribute.

Changes between Version 1 and Version 2 of HowToRetrieveaCreoleConnection

Show
Ignore:
Author:
francois (IP: 82.225.154.29)
Timestamp:
03/03/06 21:06:08 (12 years ago)
Comment:

fixed deprecated way to retrieve a connection

Legend:

Unmodified
Added
Removed
Modified
  • HowToRetrieveaCreoleConnection

    v1 v2  
    33 
    44{{{ 
    5 $con = Propel::getConnection(); 
     5$con = sfContext::getInstance()->getDatabaseConnection($connection); 
    66}}} 
     7With the default configuration, $connection='propel'