Fix dependencies artefacts

This commit is contained in:
alphayax 2016-06-27 08:23:43 +02:00
parent 0dc813df5d
commit f096d8c596
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ foreach( $config_rfi_s as $config_rfi){
* @return array
*/
function checkRSS( $config, $App){
IO::stdout( "Scan RSS {$config['rss']} for pattern {$config['pattern']}", 0, true, IO::COLOR_YELLOW);
echo "Scan RSS {$config['rss']} for pattern {$config['pattern']}" . PHP_EOL;
$rss = simplexml_load_file( $config['rss']);
foreach( $rss->xpath('//item') as $item){
$title = (string) $item->xpath('title')[0];
@ -37,7 +37,7 @@ function checkRSS( $config, $App){
$Downloads = new \alphayax\freebox\api\v3\services\download\Download( $App);
$Downloads->addFromUrl( $link);
IO::stdout( "Add download $title ($desc)", 0, true, IO::COLOR_GREEN);
echo "Add download $title ($desc)" . PHP_EOL;
}
}
}