Tv.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:01 +0000 (21:29 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 30 Aug 2011 13:29:01 +0000 (21:29 +0800)
Tv.php

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);