mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Cached CSS files now get a .css extension
This commit is contained in:
parent
439d1841b6
commit
feaf2fbbca
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user