Author: Russ
Date: 2010-03-24 23:27:44 +0100 (Wed, 24 Mar 2010)
New Revision: 28772
Modified:
plugins/sfDoctrinePlugin/branches/1.3-2.0/config/sfDoctrine2PluginConfiguration.class.php
Log:
[1.4][sfDoctrine2Plugin] Remove/replace reference to deprecated autoloader
Modified:
plugins/sfDoctrinePlugin/branches/1.3-2.0/config/sfDoctrine2PluginConfiguration.class.php
===================================================================
---
plugins/sfDoctrinePlugin/branches/1.3-2.0/config/sfDoctrine2PluginConfiguration.class.php
2010-03-24 20:04:56 UTC (rev 28771)
+++
plugins/sfDoctrinePlugin/branches/1.3-2.0/config/sfDoctrine2PluginConfiguration.class.php
2010-03-24 22:27:44 UTC (rev 28772)
@@ -36,14 +36,14 @@
$this->dispatcher->connect('debug.web.load_panels',
array('sfWebDebugPanelDoctrine', 'listenToAddPanelEvent'));
}
- require_once
__DIR__.'/../lib/vendor/doctrine/Doctrine/Common/IsolatedClassLoader.php';
+ require_once
__DIR__.'/../lib/vendor/doctrine/Doctrine/Common/ClassLoader.php';
- $classLoader = new
\Doctrine\Common\IsolatedClassLoader('DoctrineExtensions');
- $classLoader->setBasePath(__DIR__.'/../lib/vendor/active_entity');
+ $classLoader = new \Doctrine\Common\ClassLoader('DoctrineExtensions');
+ $classLoader->setIncludePath(__DIR__.'/../lib/vendor/active_entity');
$classLoader->register();
- $classLoader = new \Doctrine\Common\IsolatedClassLoader('Doctrine');
- $classLoader->setBasePath(__DIR__.'/../lib/vendor/doctrine');
+ $classLoader = new \Doctrine\Common\ClassLoader('Doctrine');
+ $classLoader->setIncludePath(__DIR__.'/../lib/vendor/doctrine');
$classLoader->register();
$this->dispatcher->connect('component.method_not_found', array($this,
'componentMethodNotFound'));
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.