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').'/..');

No comments:

Post a Comment