mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Fix tmp directories cleanup
This commit is contained in:
@@ -34,6 +34,8 @@ class FilesystemRequirements extends RequirementCollection implements Requiremen
|
|||||||
$baseDir . '/www/custom',
|
$baseDir . '/www/custom',
|
||||||
$baseDir . '/tmp/locks',
|
$baseDir . '/tmp/locks',
|
||||||
$baseDir . '/tmp/cache_twig',
|
$baseDir . '/tmp/cache_twig',
|
||||||
|
$baseDir . '/tmp/serializer',
|
||||||
|
$baseDir . '/tmp/doctrine',
|
||||||
$baseDir . '/tmp/cache_minify',
|
$baseDir . '/tmp/cache_minify',
|
||||||
$baseDir . '/tmp/lazaret',
|
$baseDir . '/tmp/lazaret',
|
||||||
$baseDir . '/tmp/desc_tmp',
|
$baseDir . '/tmp/desc_tmp',
|
||||||
|
@@ -322,6 +322,9 @@ class appbox extends base
|
|||||||
$finder->in(array(
|
$finder->in(array(
|
||||||
$this->app['root.path'] . '/tmp/cache_minify/',
|
$this->app['root.path'] . '/tmp/cache_minify/',
|
||||||
$this->app['root.path'] . '/tmp/cache_twig/',
|
$this->app['root.path'] . '/tmp/cache_twig/',
|
||||||
|
$this->app['root.path'] . '/tmp/cache/profiler/',
|
||||||
|
$this->app['root.path'] . '/tmp/doctrine/',
|
||||||
|
$this->app['root.path'] . '/tmp/serializer/',
|
||||||
))
|
))
|
||||||
->depth(0)
|
->depth(0)
|
||||||
->ignoreVCS(true)
|
->ignoreVCS(true)
|
||||||
|
@@ -41,7 +41,10 @@ class module_console_systemClearCache extends Command
|
|||||||
->exclude('.svn')
|
->exclude('.svn')
|
||||||
->in(array(
|
->in(array(
|
||||||
$this->container['root.path'] . '/tmp/cache_minify/',
|
$this->container['root.path'] . '/tmp/cache_minify/',
|
||||||
$this->container['root.path'] . '/tmp/cache_twig/'
|
$this->container['root.path'] . '/tmp/cache_twig/',
|
||||||
|
$this->container['root.path'] . '/tmp/cache/profiler/',
|
||||||
|
$this->container['root.path'] . '/tmp/doctrine/',
|
||||||
|
$this->container['root.path'] . '/tmp/serializer/',
|
||||||
));
|
));
|
||||||
|
|
||||||
$filesystem = new Filesystem();
|
$filesystem = new Filesystem();
|
||||||
|
2
tmp/cache/profiler/.gitignore
vendored
Normal file
2
tmp/cache/profiler/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
2
tmp/doctrine/.gitignore
vendored
Normal file
2
tmp/doctrine/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
2
tmp/serializer/.gitignore
vendored
Normal file
2
tmp/serializer/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Reference in New Issue
Block a user