mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Avoid javascript caching from failing when the semicolon is missing from the end of a js file.
This commit is contained in:
parent
5770aa8bbb
commit
3491d7c832
@ -1579,6 +1579,7 @@ class e_jsmanager
|
||||
{
|
||||
$content .= "/* File: ".str_replace("../",'',$path)." */\n";
|
||||
$content .= $this->getCacheFileContent($path, $type);
|
||||
$content .= ($type === 'js') ? ";" : ""; // precaution in case it is missing from a js file.
|
||||
$content .= "\n\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user