echo '<!-- use cached compile. -->';
return true;
}
+
+ if (file_exists($output) {
+ unlink($output);
+ }
+
//var_dump($output);
if (!file_exists(dirname($output))) {
mkdir(dirname($output), 0755, true);
echo "<!-- Compiled javascript
" . htmlspecialchars($res) . "
-->";
-
+ clearstatcache();
// we should do more checking.. return val etc..
if (file_exists($output) && ($max < filemtime($output) ) ) {