source: pro-bachkim-filespace/sourcecode/api.violet.vn/plugins/sfPropel13Plugin/lib/propel/sfPropel13Autoload.php @ 19

Last change on this file since 19 was 19, checked in by dungnv, 11 years ago
File size: 538 bytes
Line 
1<?php
2/*
3 * This file is part of the sfPropel13Plugin package.
4 * (c) 2007 Joshua May <notjosh@gmail.com>
5 *
6 * For the full copyright and license information, please view the LICENSE
7 * file that was distributed with this source code.
8 */
9
10require_once 'propel/Propel.php';
11
12if (sfConfig::get('sf_debug') && sfConfig::get('sf_logging_enabled'))
13{
14  // add logger
15  Propel::setLogger(sfPropel13LogWrapper::getInstance());
16}
17
18// propel initialization
19Propel::setConfiguration(sfPropel13Database::getConfiguration());
20Propel::initialize();
Note: See TracBrowser for help on using the repository browser.