projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5c8da
)
ConvertStyle.php
author
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 05:30:14 +0000
(13:30 +0800)
committer
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 05:30:14 +0000
(13:30 +0800)
ConvertStyle.php
patch
|
blob
|
history
diff --git
a/ConvertStyle.php
b/ConvertStyle.php
index
c0062b7
..
4179c51
100644
(file)
--- a/
ConvertStyle.php
+++ b/
ConvertStyle.php
@@
-90,8
+90,9
@@
class Pman_Core_ConvertStyle extends Pman
$data = file_get_contents($file);
}
- if(preg_match('/^/', $subject))
- return $data;
+ if(preg_match('/^\s<!--\sNOT CONVERT STYLE\s-->\s/', $data)){
+ return $data;
+ }
libxml_use_internal_errors (true);
$doc = new DOMDocument('1.0', 'UTF-8');