mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
Remove registry's GV_RootPath calls
This commit is contained in:
@@ -765,7 +765,7 @@ abstract class base implements cache_cacheableInterface
|
||||
|
||||
$upgrader->add_steps(1)->set_current_message(_('Looking for patches'));
|
||||
|
||||
$iterator = new DirectoryIterator($this->app['phraseanet.registry']->get('GV_RootPath') . 'lib/classes/patch/');
|
||||
$iterator = new DirectoryIterator($this->app['root.path'] . '/lib/classes/patch/');
|
||||
|
||||
foreach ($iterator as $fileinfo) {
|
||||
if ( ! $fileinfo->isDot()) {
|
||||
|
Reference in New Issue
Block a user