@@ -46,7 +46,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
46
46
47
47
/** @var $kernel KernelInterface */
48
48
$ kernel = $ this ->getContainer ()->get ('kernel ' );
49
- $ baseDir = realpath ($ kernel ->getRootDir ().DIRECTORY_SEPARATOR .'.. ' );
50
49
51
50
$ io ->table (array (), array (
52
51
array ('<info>Symfony</> ' ),
@@ -62,9 +61,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
62
61
array ('Environment ' , $ kernel ->getEnvironment ()),
63
62
array ('Debug ' , $ kernel ->isDebug () ? 'true ' : 'false ' ),
64
63
array ('Charset ' , $ kernel ->getCharset ()),
65
- array ('Root directory ' , self ::formatPath ($ kernel ->getRootDir (), $ baseDir )),
66
- array ('Cache directory ' , self ::formatPath ($ kernel ->getCacheDir (), $ baseDir ).' (<comment> ' .self ::formatFileSize ($ kernel ->getCacheDir ()).'</>) ' ),
67
- array ('Log directory ' , self ::formatPath ($ kernel ->getLogDir (), $ baseDir ).' (<comment> ' .self ::formatFileSize ($ kernel ->getLogDir ()).'</>) ' ),
64
+ array ('Root directory ' , self ::formatPath ($ kernel ->getRootDir (), $ kernel -> getProjectDir () )),
65
+ array ('Cache directory ' , self ::formatPath ($ kernel ->getCacheDir (), $ kernel -> getProjectDir () ).' (<comment> ' .self ::formatFileSize ($ kernel ->getCacheDir ()).'</>) ' ),
66
+ array ('Log directory ' , self ::formatPath ($ kernel ->getLogDir (), $ kernel -> getProjectDir () ).' (<comment> ' .self ::formatFileSize ($ kernel ->getLogDir ()).'</>) ' ),
68
67
new TableSeparator (),
69
68
array ('<info>PHP</> ' ),
70
69
new TableSeparator (),
0 commit comments