diff --git a/customcss.php b/customcss.php index d0d494846..cccaa36bb 100644 --- a/customcss.php +++ b/customcss.php @@ -17,7 +17,7 @@ if (empty($customcssuri)) { } // No need to sanitise $server because it should be safe already. -$cssfile = '../pokemonshowdown.com/config/customcss/' . $server; +$cssfile = '../pokemonshowdown.com/config/customcss/' . $server . '.css'; $lastmodified = @filemtime($cssfile); $timenow = time();