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 67dce50 commit 42aeeb4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
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 {if ($cur_branch != ""){$cur_branch = " (".$cur_branch.")";}}

if (isset($cur_branch) && $cur_branch != "master"){$cur_branch = " (".$cur_branch.")";}
else {$cur_branch = "";}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
Expand Down

0 comments on commit 42aeeb4

Please sign in to comment.