mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-20 10:02:05 -05:00
Cached CSS files now get a .css extension
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user