Update directory structure & allow to configure paths (tmp, log, cache)

This commit is contained in:
Nicolas Le Goff
2014-09-05 11:28:25 +02:00
parent 69fd50906f
commit de7988689e
2201 changed files with 850 additions and 13650 deletions

View File

@@ -41,7 +41,7 @@ class random
switch ($row['type']) {
case 'download':
case 'email':
$file = $this->app['root.path'] . '/tmp/download/' . $row['value'] . '.zip';
$file = $this->app['tmp.download.path'].'/'.$row['value'].'.zip';
if (is_file($file))
unlink($file);
break;