Skip to content

Commit

Permalink
v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FredBardin committed Jan 2, 2018
1 parent 16e61ec commit 67dce50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
define('ANTI_HACK', true);

// Catch current git branch to display in title if not master
$cur_branch = "";
@list($ref,$dir,$cur_branch) = explode("/",trim(@file(".git/HEAD")[0]));
if ($cur_branch == "master"){$cur_branch = "";}
else {$cur_branch = " (".$cur_branch.")";}
else {if ($cur_branch != ""){$cur_branch = " (".$cur_branch.")";}}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
Expand Down

0 comments on commit 67dce50

Please sign in to comment.