Version avec modules séparés !
This commit is contained in:
11
modules/blogs/includes/blogs.php
Normal file
11
modules/blogs/includes/blogs.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?
|
||||
require('blogs_last_post.php');
|
||||
$opts = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 10, CURLOPT_CONNECTTIMEOUT => 10);
|
||||
$blogs = new Blogs_last_post();
|
||||
foreach($blogs->getLinks() as $link)
|
||||
{
|
||||
$blogs->addSession($link['url'], $opts);
|
||||
}
|
||||
echo $blogs->getEverything();
|
||||
$blogs->clear();
|
||||
|
Reference in New Issue
Block a user