projects
/
lib.XML_Tv
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc281b
)
Tv.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:01 +0000
(21:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:01 +0000
(21:29 +0800)
Tv.php
patch
|
blob
|
history
diff --git
a/Tv.php
b/Tv.php
index
91137ce
..
83892af
100644
(file)
--- a/
Tv.php
+++ b/
Tv.php
@@
-214,8
+214,8
@@
class XML_Tv
if (preg_match('/<div/', trim($data))) {
preg_match('/<BR>([0-9]{4}-[0-9]{2}-[0-9]{2})/i', $data, $matches);
-
print_r($matches)
;
-
exit
;
+
$this->activeDay = $matches[1]
;
+
return
;
}
$rows = preg_split('/<tr[^>]*>/i', $data);