You can do this:

$this->setWebDir($this->getRootDir().'/public_html');


bye



Augusto Morais



2010/3/11 Kevin <kevinb...@gmail.com>

> Hello, just wondering if the following is considered the best practice
> for changing the web directory from the default www to html?
>
> class ProjectConfiguration extends sfProjectConfiguration
> {
>  public function setup()
>  {
>    /* change web dir to html */
>    $this->setWebDir($this->getRootDir().DIRECTORY_SEPARATOR.'html');
>  }
> }
>
> Thanks,
> Kevin
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to