Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 550 Bytes

File metadata and controls

19 lines (14 loc) · 550 Bytes

Infinite Common Bundle

Please note that no support is provided for using this bundle.

Provides common functionality used in most Infinite Networks Symfony2 applications.

  • To use the twig variable site, AppKernel must be modified to add an additional parameter to the container:
    protected function getKernelParameters()
    {
        $parameters = parent::getKernelParameters();
        $parameters['site.version'] = trim(shell_exec('git describe --tags --always'));

        return $parameters;
    }