1 |
dpavlin |
2 |
<?php |
2 |
|
|
/*---------------------------------------- |
3 |
|
|
$Id: update-quiet.php,v 1.12 2006/03/22 06:03:57 migurski Exp $ |
4 |
|
|
vim: ts=4 foldcolumn=4 foldmethod=marker |
5 |
|
|
|
6 |
|
|
This file is part of Reblog: http://reblog.org |
7 |
|
|
A derivative work of Feed On Feeds: http://feedonfeeds.com |
8 |
|
|
|
9 |
|
|
Distributed under the Gnu Public License, see LICENSE |
10 |
|
|
|
11 |
|
|
Copyright ©2004 Michael Frumin, Michal Migurski |
12 |
|
|
mike@stamen.com, http://stamen.com |
13 |
|
|
mfrumin@eyebeam.org, http://eyebeam.org |
14 |
|
|
|
15 |
|
|
update-quiet.php - updates all feeds without producing output |
16 |
|
|
----------------------------------------*/ |
17 |
|
|
|
18 |
|
|
$SUPPRESS_AUTH = 1; |
19 |
|
|
require_once(dirname(__FILE__) . '/init.php'); |
20 |
|
|
|
21 |
|
|
$client_controller = new RF_Client_Controller($GLOBALS['REBLOG_CONTROLLER'], $GLOBALS['REBLOG_VIEW']); |
22 |
|
|
|
23 |
|
|
if(php_sapi_name() != 'cli') |
24 |
|
|
ob_start(); |
25 |
|
|
|
26 |
|
|
$client_controller->respond(REBLOG_RESPONSE_UPDATE_ALL); |
27 |
|
|
|
28 |
|
|
if(php_sapi_name() != 'cli') |
29 |
|
|
ob_end_clean(); |
30 |
|
|
|
31 |
|
|
?> |