getEnvironment(), array('dev', 'test'))) { //$bundles[] = new Jjanvier\Bundle\CrowdinBundle\JjanvierCrowdinBundle(), $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); $bundles[] = new Bazinga\Bundle\FakerBundle\BazingaFakerBundle(); $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(); $bundles[] = new Elao\WebProfilerExtraBundle\WebProfilerExtraBundle(); $bundles[] = new Jns\Bundle\XhprofBundle\JnsXhprofBundle(); $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); } return $bundles; } public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); } /*public function getCacheDir() { return dirname(dirname(__DIR__)).'/cache/'.$this->environment; } public function getLogDir() { return dirname(dirname(__DIR__)).'/log/'; }*/ /*public function getLogDir() { return $this->rootDir.'/../logs/'.$this->environment.'/logs/'; } public function getCacheDir() { return $this->rootDir.'/../data/temp/'.$this->environment.'/cache/'; }*/ // Custom paths /** * Returns the real root path * @return string */ public function getRealRootDir() { return realpath($this->rootDir.'/../').'/'; } /** * Returns the data path * @return string */ public function getDataDir() { return $this->getRealRootDir().'data/'; } }