Cached CSS files now get a .css extension

This commit is contained in:
Cathy J. Fitzpatrick 2013-04-24 15:44:00 -07:00
parent 439d1841b6
commit feaf2fbbca

View File

@ -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();