Show
Ignore:
Timestamp:
10/16/06 06:31:35 (2 years ago)
Author:
mdodoo
Message:

Sync with trunk up to (but not including changeset [1585]). I should *definitely* do this more often, because this was really annoying.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/update.php

    r1468 r1604  
    2828define ('RSS_NO_CACHE',true); 
    2929require_once('init.php'); 
     30$cline = isset($argv) && !$_REQUEST && isset($argc) && $argc; 
     31if (!$cline && getConfig('rss.config.restrictrefresh')) { 
     32    die(__('Sorry, updating from the web is currently not allowed.')); 
     33} 
    3034rss_require("cls/update.php"); 
    3135rss_require("extlib/browser.php"); 
     
    5054 
    5155$browser = new Browser(); 
    52  
    53 $cline = isset($argv) && !$_REQUEST && isset($argc) && $argc; 
    5456$silent = array_key_exists('silent', $_GET) || ($cline && in_array('--silent',$argv)); 
    5557$newsonly = array_key_exists('newsonly', $_GET) || ($cline && in_array('--newsonly', $argv)); 
     
    5759 
    5860$GLOBALS['rss'] -> header = new Header( 
    59             LBL_TITLE_UPDATING,  
     61            __('Updating'),  
    6062            LOCATION_UPDATE,  
    6163            null,