aboutsummaryrefslogtreecommitdiff
path: root/src/index.php
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-06-05 11:52:54 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-06-05 11:52:54 +0000
commit0fc1ba6dff3238360a0a0da3b7cc65b86b911c63 (patch)
tree59451a4fd9f67a294d5be1c954661d4f3354d9c8 /src/index.php
parent64451b33aa22fc5b96abc65bb416a2e0c78a2a98 (diff)
downloadboca-0fc1ba6dff3238360a0a0da3b7cc65b86b911c63.tar.gz
boca-0fc1ba6dff3238360a0a0da3b7cc65b86b911c63.zip
fix: update stylesheet links to use lowercase 'css.php' for consistencyHEADmaster
Diffstat (limited to 'src/index.php')
-rw-r--r--src/index.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/index.php b/src/index.php
index 6e75b41..ab74741 100644
--- a/src/index.php
+++ b/src/index.php
@@ -1,4 +1,5 @@
<?php
+
////////////////////////////////////////////////////////////////////////////////
//BOCA Online Contest Administrator
// Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com)
@@ -66,12 +67,13 @@ if(count($coo) != 2)
ob_end_flush();
require_once('version.php');
+
?>
<title>BOCA Online Contest Administrator <?php echo $BOCAVERSION; ?> - Login</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<link rel=stylesheet href="Css.php" type="text/css">
+<link rel=stylesheet href="css.php" type="text/css">
<script language="JavaScript" src="sha256.js"></script>
<script language="JavaScript">
function computeHASH() {
@@ -86,6 +88,7 @@ function computeHASH() {
</script>
<?php
+
if(function_exists("globalconf") && function_exists("sanitizeVariables")) {
if(isset($_GET["name"]) && $_GET["name"] != "" ) {
$name = $_GET["name"];
@@ -123,6 +126,7 @@ if(function_exists("globalconf") && function_exists("sanitizeVariables")) {
echo "alert('Unable to load config files. Possible file permission problem in the BOCA directory.');\n";
echo "</script>\n";
}
+
?>
</head>
@@ -175,4 +179,9 @@ if(function_exists("globalconf") && function_exists("sanitizeVariables")) {
</td>
</tr>
</table>
-<?php include('footnote.php'); ?>
+
+<?php
+
+include('footnote.php');
+
+?>