Development

/plugins/sfLucenePlugin/branches/1.2-Solr/test/sandbox/config/ProjectConfiguration.class.php

You must first sign up to be able to contribute.

root/plugins/sfLucenePlugin/branches/1.2-Solr/test/sandbox/config/ProjectConfiguration.class.php

Revision 24784, 488 bytes (checked in by rande, 3 years ago)

[sfLucenePlugin] [solr] remove sfContext dependency, update unit test, clean API, and more ...

Line 
1 <?php
2
3 require_once dirname(__FILE__).'/../../../../../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
4 sfCoreAutoload::register();
5
6 class ProjectConfiguration extends sfProjectConfiguration
7 {
8   public function setup()
9   {
10      sfConfig::set('sf_plugins_dir', dirname(__FILE__).'/../../../../../plugins' );
11     
12     // for compatibility / remove and enable only the plugins you want
13     $this->enablePlugins(array(
14      'sfDoctrinePlugin',
15      'sfLucenePlugin',
16     ));
17   }
18 }
19
Note: See TracBrowser for help on using the browser.