charles-vdulac/symfony-webDebugPanel-currentGitCommit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Show current git commit in sf web debug toolbar
Charles Vallantin Dulac <charles.vallantin-dulac@sporteasy.fr>
Setup :
In your project's lib/debug/ directory (you'll need to create this directory),
copy sfWebDebugPanelCurrentGitCommit.class.php file.
In your project's web/img directory, copy git.png file
In config/projectConfiguration.class.php, setup method, put this code to active module:
//Git debug tool bar
$this->dispatcher->connect('debug.web.load_panels', array(
'acWebDebugPanelCurrentGitCommit',
'listenToLoadDebugWebPanelEvent'
));