Skip to content

Commit

Permalink
Ignore var dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bruli committed Oct 22, 2016
1 parent 25c2d55 commit 3324abd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ php-git-hooks.yml
# composer.lock
#Entry generated by php-git-hooks tool.
.guard_coverage
var/cache
var/logs
11 changes: 11 additions & 0 deletions app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ public function registerBundles()
];
}

public function getCacheDir()
{
return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
}

public function getLogDir()
{
return dirname(__DIR__).'/var/logs';
}


/**
* Loads the container configuration.
*
Expand Down

0 comments on commit 3324abd

Please sign in to comment.