Author: rande
Date: 2010-01-12 12:30:14 +0100 (Tue, 12 Jan 2010)
New Revision: 26524
Added:
plugins/sfSolrPlugin/branches/sf1.2/config/sfSolrPluginConfiguration.class.php
Removed:
plugins/sfSolrPlugin/branches/sf1.2/config/sfLucenePluginConfiguration.class.php
Log:
[sfSolrPlugin] fix file configuration name
Deleted:
plugins/sfSolrPlugin/branches/sf1.2/config/sfLucenePluginConfiguration.class.php
===================================================================
---
plugins/sfSolrPlugin/branches/sf1.2/config/sfLucenePluginConfiguration.class.php
2010-01-12 11:13:49 UTC (rev 26523)
+++
plugins/sfSolrPlugin/branches/sf1.2/config/sfLucenePluginConfiguration.class.php
2010-01-12 11:30:14 UTC (rev 26524)
@@ -1,43 +0,0 @@
-<?php
-
-class sfLucenePluginConfiguration extends sfPluginConfiguration
-{
-
- public function setup()
- {
- if ($this->configuration instanceof sfApplicationConfiguration)
- {
- /**
- * Add configuration handlers for search.yml
- */
-
- $this->loadConfigHandlerClasses();
-
- $configCache = $this->configuration->getConfigCache();
- $configCache->registerConfigHandler('config/search.yml',
'sfLuceneProjectConfigHandler');
- $configCache->registerConfigHandler('modules/*/config/search.yml',
'sfLuceneModuleConfigHandler');
- }
-
- }
-
- /**
- *
- * At this point the autoloaded is not yet started
- *
- */
- public function loadConfigHandlerClasses()
- {
-
- $lib_folder = sfConfig::get('sf_plugins_dir').'/sfLucenePlugin/lib/config';
-
- if(!class_exists('sfLuceneProjectConfigHandler', true))
- {
- include_once $lib_folder.'/sfLuceneProjectConfigHandler.class.php';
- }
-
- if(!class_exists('sfLuceneModuleConfigHandler', true))
- {
- include_once $lib_folder.'/sfLuceneModuleConfigHandler.class.php';
- }
- }
-}
Copied:
plugins/sfSolrPlugin/branches/sf1.2/config/sfSolrPluginConfiguration.class.php
(from rev 26521,
plugins/sfSolrPlugin/branches/sf1.2/config/sfLucenePluginConfiguration.class.php)
===================================================================
---
plugins/sfSolrPlugin/branches/sf1.2/config/sfSolrPluginConfiguration.class.php
(rev 0)
+++
plugins/sfSolrPlugin/branches/sf1.2/config/sfSolrPluginConfiguration.class.php
2010-01-12 11:30:14 UTC (rev 26524)
@@ -0,0 +1,43 @@
+<?php
+
+class sfSolrPluginConfiguration extends sfPluginConfiguration
+{
+
+ public function setup()
+ {
+ if ($this->configuration instanceof sfApplicationConfiguration)
+ {
+ /**
+ * Add configuration handlers for search.yml
+ */
+
+ $this->loadConfigHandlerClasses();
+
+ $configCache = $this->configuration->getConfigCache();
+ $configCache->registerConfigHandler('config/search.yml',
'sfLuceneProjectConfigHandler');
+ $configCache->registerConfigHandler('modules/*/config/search.yml',
'sfLuceneModuleConfigHandler');
+ }
+
+ }
+
+ /**
+ *
+ * At this point the autoloaded is not yet started
+ *
+ */
+ public function loadConfigHandlerClasses()
+ {
+
+ $lib_folder = sfConfig::get('sf_plugins_dir').'/sfSolrPlugin/lib/config';
+
+ if(!class_exists('sfLuceneProjectConfigHandler', true))
+ {
+ include_once $lib_folder.'/sfLuceneProjectConfigHandler.class.php';
+ }
+
+ if(!class_exists('sfLuceneModuleConfigHandler', true))
+ {
+ include_once $lib_folder.'/sfLuceneModuleConfigHandler.class.php';
+ }
+ }
+}
--
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.