Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dsyph3r/880095 to your computer and use it in GitHub Desktop.
Save dsyph3r/880095 to your computer and use it in GitHub Desktop.
Blog: Symfony 1.4: Configuring Default Folder Structure
$this->setWebDir(dirname($this->getRootDir()).'/public_html');
sfConfig::set('sf_upload_dir', dirname($this->getRootDir()).'/uploads');
/project
/system
/apps
/cache
/config
/data
/lib
/log
/plugins
/test
/public_html
/uploads
/project
/apps
/cache
/config
/data
/lib
/log
/plugins
/test
/web
/uploads
require_once(dirname(__FILE__).'/../system/config/ProjectConfiguration.class.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment