Development

#3444 (mistake at Chapter 19)

You must first sign up to be able to contribute.

Ticket #3444 (closed documentation: fixed)

Opened 7 months ago

Last modified 7 months ago

mistake at Chapter 19

Reported by: leon Assigned to: fabien
Priority: minor Milestone: 1.0.14
Component: other Version: 1.0.13
Keywords: Cc:
Qualification: Unreviewed

Description

There is a mistake in "Modifying the Project Web Root" paragraph in Chapter 19 of "The Book". According to 'Listing 19-5 - Example of Custom Directory Structure for a Shared Host' the change of config.php file should be:

sfConfig::add(array(
  'sf_web_dir' => SF_ROOT_DIR.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'www',
  'sf_upload_dir' => SF_ROOT_DIR.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'www'.DIRECTORY_SEPARATOR.sfConfig::get('sf_upload_dir_name'),
));

There is missing the one level up step (/../) in the path of sf_web_dir and sf_upload_dir variables. And it is really confusing for newbies as I am :-)

Change History

05/04/08 09:03:45 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.0.14.

in r8760