// | For the full copyright and license information, please view the LICENSE | // | file that was distributed with this source code. You can also view the | // | LICENSE file online at http://www.agavi.org/LICENSE.txt | // | vi: set noexpandtab: | // | Local Variables: | // | indent-tabs-mode: t | // | End: | // +---------------------------------------------------------------------------+ /** * A file that serves as the autoload file for Propel < 1.3 * It is enabled by default in the Agavi autoload configuration. * Whenever you want to use Propel now, it will automatically be setup for you * using the configuration file you specified in database.xml * * @package agavi * @subpackage database * * @author David Zülke <*****@*****.**> * @copyright Authors * @copyright The Agavi Project * * @deprecated To be removed in Agavi 1.1 * * @since 0.10.0 * * @version $Id: AgaviPropelAutoload.php 4677 2011-06-05 15:33:36Z david $ */ // we don't need a _once here require 'propel/Propel.php'; Propel::init(AgaviPropelDatabase::getDefaultConfigPath());
/** * Sets a flag indicating a Propel configuration file path has been * explicitly set as default for use with Propel::init() in database.xml * * @author David Zülke <*****@*****.**> * @since 0.10.0 */ protected static function setDefaultConfigPathSet() { self::$defaultConfigPathSet = true; }