Showing posts with label get current path. Show all posts
Showing posts with label get current path. Show all posts

Friday, March 4, 2016

Get directory path in symfony 2.8 and 3.0



Get base path -:


  echo 'path is '.realpath($this->container->getParameter('kernel.root_dir').'/..');