9286c8e75f2735e3daf9187574a8896e344eaf43

Author: AD7six

Date: 2009-04-16 18:21:12 +0200

correcting the reference to the right head file

diff --git a/views/layouts/default.ctp b/views/layouts/default.ctp index 8426e8f..513b302 100644 --- a/views/layouts/default.ctp +++ b/views/layouts/default.ctp @@ -4,7 +4,8 @@ <head> <?php if (!empty($auth['User']['Level']) && $auth['User']['Level'] == ADMIN) { - echo "<!-- " . trim(file_get_contents(APP . '.git/FETCH_HEAD')) . "-->"; + //echo "<!-- " . exec('git rev-parse HEAD') . " -->"; + echo "<!-- " . trim(file_get_contents(APP . '.git/refs/heads/master')) . " -->"; } // Preventing automatic language detection Configure::write('Config.language', $this->params['lang']);