projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ff45495
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 28 Jul 2011 14:40:28 +0000
(22:40 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 28 Jul 2011 14:40:28 +0000
(22:40 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
363ec6f
..
345e477
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-103,11
+103,11
@@
class Pman_Core_JsCompile extends Pman
$output = md5(serialize($arfiles)) .'.js';
$output = md5(serialize($arfiles)) .'.js';
- if (
!$no_
compile && !file_exists($basedir.'/_cache_/'.$output)) {
+ if (
$
compile && !file_exists($basedir.'/_cache_/'.$output)) {
$this->pack($arfiles,$basedir.'/_cache_/'.$output);
}
$this->pack($arfiles,$basedir.'/_cache_/'.$output);
}
- if (
!$no_c
ompile && file_exists($basedir.'/_cache_/'.$output)) {
+ if (
$
ompile && file_exists($basedir.'/_cache_/'.$output)) {
echo '<script type="text/javascript" src="'.$output_url.'/_cache_/'. $output.'"></script>';
return;
echo '<script type="text/javascript" src="'.$output_url.'/_cache_/'. $output.'"></script>';
return;