ProjectConfiguration.class.php 619 B

12345678910111213141516171819
  1. <?php
  2. # FROZEN_SF_LIB_DIR: /usr/lib/php/symfony
  3. require_once dirname(__FILE__).'/../lib/symfony/autoload/sfCoreAutoload.class.php';
  4. sfCoreAutoload::register();
  5. class ProjectConfiguration extends sfProjectConfiguration
  6. {
  7. public function setup()
  8. {
  9. // for compatibility / remove and enable only the plugins you want
  10. // $this->enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin'));
  11. $this->enableAllPluginsExcept(array('sfDoctrinePlugin'));
  12. # sfConfig::set('sf_upload_dir', '/var/www/site/htdocs/upload_avail');
  13. sfConfig::set('sf_upload_dir', '/var/www/upload/upload_avail');
  14. }
  15. }