mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Remove registry's GV_RootPath calls
This commit is contained in:
@@ -1002,7 +1002,7 @@ class databox extends base
|
||||
$base_ids[] = $base_id = $conn->lastInsertId();
|
||||
|
||||
if ( ! empty($row['logo'])) {
|
||||
file_put_contents($this->app['phraseanet.registry']->get('GV_RootPath') . 'config/minilogos/' . $base_id, $row['logo']);
|
||||
file_put_contents($this->app['root.path'] . '/config/minilogos/' . $base_id, $row['logo']);
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
unset($e);
|
||||
|
Reference in New Issue
Block a user