When i write "sfConfig::set('sf_upload_dir', '/home/sylver/workspace/ sta/www/uploads');" in /config/config.php -> Fatal error: Class 'sfConfig' not found in /home/simon/workspace/ sta/config/config.php on line 6
:/ On 30 mai, 07:46, "Dmitry Nesteruk" <[EMAIL PROTECTED]> wrote: > Try to set upload directory in the config/config.php > Example: > > sfConfig::set('sf_upload_dir', '/home/sylver/workspace/sta/www/uploads'); > > You should create this directory before you will try to upload some file. > > 2008/5/29 Sylver <[EMAIL PROTECTED]>: > > > > > Hello, > > i have installed my symfony project on OVH (french host) and my web- > > directory is /www instead of /web. > > When i try to upload a file, it try upload it on /web/uploads wich > > doesn't exist. How can i change that ? > > > echo sfConfig::get('sf_upload_dir'); -> /home/sylver/workspace/sta/web/ > > uploads > > and i want to have : /home/sylver/workspace/sta/www/uploads > > > I try to find where to change that but i don't find it... > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---