Development

#1582 (Freezing while working with another directory than web/ will not work well)

You must first sign up to be able to contribute.

Ticket #1582 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Freezing while working with another directory than web/ will not work well

Reported by: Stefan.Koopmanschap Assigned to: Stefan.Koopmanschap
Priority: minor Milestone:
Component: other Version: 1.0.10
Keywords: freeze Cc:
Qualification: Accepted

Description

In our project, we use a server where the documentroot directory is called HTML. So we renamed web into HTML and altered the config.php of our app to contain:

sfConfig::add(array(

'sf_web_dir' => SF_ROOT_DIR.DIRECTORY_SEPARATOR.'HTML', 'sf_upload_dir' => SF_ROOT_DIR.DIRECTORY_SEPARATOR.'HTML'.DIRECTORY_SEPARATOR.sfConfig::get('sf_upload_dir_name'),

));

This works well, however, when freezing the project for deployment, the freeze command will move all web-files into the web/ directory. It seems the freeze command does not take this extra configuration into consideration.

Change History

06/20/07 13:50:57 changed by Stefan.Koopmanschap

This has now also been reported on the forums: http://www.symfony-project.com/forum/index.php/t/4890/

12/20/07 09:32:32 changed by Stefan.Koopmanschap

  • owner changed from fabien to Stefan.Koopmanschap.
  • status changed from new to assigned.
  • qualification set to Unreviewed.

12/20/07 22:26:02 changed by FabianLange

  • status changed from assigned to closed.
  • version changed from 1.0.0 to 1.0.10.
  • resolution set to duplicate.
  • qualification changed from Unreviewed to Accepted.

the same issue was fixed today in #2605. So i mark this as duplicate. The fix is in 1.0.10 backported. enjoy

12/20/07 22:26:50 changed by FabianLange

its in r6622

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.