Commit afe778c4 authored by Skia's avatar Skia

Update get_rev() for git

parent 76bca0a1
......@@ -229,7 +229,7 @@ function CheckEmail($email, $type = 0)
/* obtention de la revision actuelle du site (subversion) */
function get_rev ()
return exec ("/usr/share/php5/exec/");
return exec ("git log --pretty=format:'%h' -n 1");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment