. '/';
header('Location: ' . $url);
exit(0);
- } else if( $path == '/') {
+ } else if ($path == '/') {
return 'www/index.php';
}
+
+ if (substr($path, -4) == '.css') {
+ header('Expires: ' . date('r', time() + 86400 * 7));
+ }
return 'www' . $path;
}