Changeset 1604 for branches/multiuser/update.php
- Timestamp:
- 10/16/06 06:31:35 (2 years ago)
- Files:
-
- 1 modified
-
branches/multiuser/update.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/multiuser/update.php
r1468 r1604 28 28 define ('RSS_NO_CACHE',true); 29 29 require_once('init.php'); 30 $cline = isset($argv) && !$_REQUEST && isset($argc) && $argc; 31 if (!$cline && getConfig('rss.config.restrictrefresh')) { 32 die(__('Sorry, updating from the web is currently not allowed.')); 33 } 30 34 rss_require("cls/update.php"); 31 35 rss_require("extlib/browser.php"); … … 50 54 51 55 $browser = new Browser(); 52 53 $cline = isset($argv) && !$_REQUEST && isset($argc) && $argc;54 56 $silent = array_key_exists('silent', $_GET) || ($cline && in_array('--silent',$argv)); 55 57 $newsonly = array_key_exists('newsonly', $_GET) || ($cline && in_array('--newsonly', $argv)); … … 57 59 58 60 $GLOBALS['rss'] -> header = new Header( 59 LBL_TITLE_UPDATING,61 __('Updating'), 60 62 LOCATION_UPDATE, 61 63 null,
