diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/footer.php | 2 | ||||
-rw-r--r-- | includes/functions.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/footer.php b/includes/footer.php index a87a0d5..871862d 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -7,7 +7,7 @@ <div id="footer-links"> </div> - © <?= date('Y') ?> Minteck. | <a href="https://tumblr.conep.one" target="_blank" class="footer-link-mini"><span id="cutie">❤️ Twi <span id="cutie-inner">(cutie ^^)</span></span></a> | <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" class="footer-link-mini">version <?= version() ?></a> (#<?= build_dom() ?>) + © <?= date('Y') ?> Minteck | <a href="https://tumblr.conep.one" target="_blank" class="footer-link-mini"><span id="cutie">❤️ Twi <span id="cutie-inner">(cutie ^^)</span></span></a> | <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" class="footer-link-mini">version <?= version() ?></a> (#<?= build_dom() ?>) </div> <br> diff --git a/includes/functions.php b/includes/functions.php index 80d663f..bef7435 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -38,12 +38,12 @@ function build_dom(): string { if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/.build.id")) { $aa = trim(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/.build.id")); } else { - $aa = "-1"; + $aa = ""; } if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/.prjbuild.id")) { $ba = trim(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/.prjbuild.id")); } else { - $ba = "-1"; + $ba = ""; } return "<a href='https://ci.minteck.org/buildConfiguration/WebX_Stable/$aa' target='_blank' class='footer-link-mini'>$a</a>.<a href='https://ci.minteck.org/buildConfiguration/WebX_Projects/$ba' target='_blank' class='footer-link-mini'>$b</a>"; } |