");
}
function get_long_git_commit()
{
/** Returns the long hash of the commit of the current version */
if (file_exists(LOCAL_COMMIT_FILE))
{
$commit = file_get_contents(LOCAL_COMMIT_FILE);
}
else
{
$commit = '';
}
return $commit;
}
function get_short_git_commit()
{
/** Returns the short hash of the commit of the current version */
$commit = get_long_git_commit();
$commit = substr($commit, 0, 7);
return $commit;
}
function is_upgrading()
{
return file_exists(REMOTE_COMMIT_FILE);
}
?>
pouët.net
0): ?>
0.9-=get_short_git_commit()?>
0.9
DIP
© 2000-=date("Y")?> mandarine - hosted on scene.org
send comments and bug reports to webmaster@pouet.net
- contribute on GitHub
$endtime = microtime_float();
$totaltime = ($endtime - $starttime);
?>
page created in printf("%f",$totaltime); ?> seconds=($SESSION_LEVEL=='administrator' || $SESSION_LEVEL=='moderator' || $SESSION_LEVEL=='gloperator') && $numqueries?" with ".$numqueries." queries":""?>.
mysql_close(); ?>