Changeset 9710 for extensions/autoupdate/trunk/main.inc.php
- Timestamp:
- Mar 15, 2011, 7:55:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/autoupdate/trunk/main.inc.php
r9707 r9710 17 17 18 18 // Upgrade? 19 if (!isset($conf['AU_ignore']['plugins']) or !isset($conf['AU_ignore']['themes']) or !isset($conf['AU_ignore']['languages']))19 if (!isset($conf['AU_ignore']['plugins'])) 20 20 { 21 21 $conf['AU_ignore'] = array('plugins'=>array(),'themes'=>array(),'languages'=>array()); … … 38 38 { 39 39 unset($_SESSION['need_update']); 40 unset($_SESSION[' plugins_need_update']);40 unset($_SESSION['extensions_need_update']); 41 41 } 42 42 43 if (!isset($_SESSION['need_update']) or !isset($_SESSION[' plugins_need_update'])44 or $_SESSION['need_update'] !== false or $_SESSION[' plugins_need_update'] !== array())43 if (!isset($_SESSION['need_update']) or !isset($_SESSION['extensions_need_update']) 44 or $_SESSION['need_update'] !== false or $_SESSION['extensions_need_update'] !== array()) 45 45 { 46 46 $template->set_filename('autoupdate_head', realpath(AUTOUPDATE_PATH.'template/head.tpl')); 47 47 array_push($header_notes, $template->parse('autoupdate_head', true)); 48 48 } 49 }50 51 if ($page['page'] == 'plugins_update' and method_exists('template', 'set_prefilter'))52 {53 include(dirname(__FILE__).'/plugins_update.php');54 49 } 55 50
Note: See TracChangeset
for help on using the changeset viewer.