|
|
@@ -180,7 +180,7 @@ class IndexController extends BaseController
|
|
|
// 宜忌
|
|
|
$content1 = file_get_contents($apiUrl.'/laohuangli/');
|
|
|
$temp1 = substr($content1,strpos($content1, '<div class="goodcalendar4">'));
|
|
|
- $temp1 = substr($temp1,strpos($temp1, '</div>'));
|
|
|
+ $temp1 = substr($temp1,0, strpos($temp1, '</div>'));
|
|
|
preg_match("/<td>(.*)<\/td>/", $temp1, $yi);
|
|
|
preg_match("/<td colspan=\"3\">(.*)<\/td>/", $temp1, $ji);
|
|
|
|