mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
PHRAS-3690 Check usage of config/templates directories (#4047)
* create config/template directory when needed * unused * remove from requirement and cmd bin/setup check:system
This commit is contained in:
@@ -40,13 +40,13 @@ class TwigServiceProvider implements ServiceProviderInterface
|
||||
}
|
||||
|
||||
if ($app['browser']->isTablet() || $app['browser']->isMobile()) {
|
||||
$paths[] = $app['root.path'] . '/config/templates/mobile';
|
||||
// $paths[] = $app['root.path'] . '/config/templates/mobile';
|
||||
$paths[] = $app['root.path'] . '/templates/mobile';
|
||||
$paths['phraseanet'] = $app['root.path'] . '/config/templates/mobile';
|
||||
$paths['phraseanet'] = $app['root.path'] . '/templates/mobile';
|
||||
}
|
||||
|
||||
$paths[] = $app['root.path'] . '/config/templates/web';
|
||||
// $paths[] = $app['root.path'] . '/config/templates/web';
|
||||
$paths[] = $app['root.path'] . '/templates/web';
|
||||
$paths['phraseanet'] = $app['root.path'] . '/config/templates/web';
|
||||
$paths['phraseanet'] = $app['root.path'] . '/templates/web';
|
||||
|
@@ -26,8 +26,6 @@ class FilesystemRequirements extends RequirementCollection implements Requiremen
|
||||
$baseDir . '/config/stamp',
|
||||
$baseDir . '/config/status',
|
||||
$baseDir . '/config/minilogos',
|
||||
$baseDir . '/config/templates',
|
||||
$baseDir . '/config/topics',
|
||||
$baseDir . '/config/wm',
|
||||
$baseDir . '/logs',
|
||||
$baseDir . '/tmp',
|
||||
|
Reference in New Issue
Block a user