[ Index ] |
|
Code source de Symfony 1.0.0 |
1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * @package symfony 13 * @subpackage addon 14 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 15 * @version SVN: $Id: sfPropelAutoload.php 2808 2006-11-25 07:22:49Z fabien $ 16 */ 17 require_once 'propel/Propel.php'; 18 19 if (sfConfig::get('sf_debug') && sfConfig::get('sf_logging_enabled')) 20 { 21 // register debug driver 22 require_once 'creole/Creole.php'; 23 Creole::registerDriver('*', 'symfony.addon.creole.drivers.sfDebugConnection'); 24 25 // register our logger 26 require_once(sfConfig::get('sf_symfony_lib_dir').'/addon/creole/drivers/sfDebugConnection.php'); 27 sfDebugConnection::setLogger(sfLogger::getInstance()); 28 } 29 30 // propel initialization 31 Propel::setConfiguration(sfPropelDatabase::getConfiguration()); 32 Propel::initialize();
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |