X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Finst_upgrade.php;h=eeee26a214b88152e2a01d84e9d607643f40eeb7;hb=467fca01c62dd47bcd97ec957a49b0209732c9d0;hp=5084954f1edb6228acca81a11ff3ad605cff77e5;hpb=19c4a341d22f27dcc7fa9f56e0979d8ebec47b54;p=fa-stable.git diff --git a/admin/inst_upgrade.php b/admin/inst_upgrade.php index 5084954f..eeee26a2 100644 --- a/admin/inst_upgrade.php +++ b/admin/inst_upgrade.php @@ -69,7 +69,7 @@ function get_installers() while(false !== ($fname = readdir($datadir))) { // check all php files but index.php if (!is_dir($patchdir . $fname) && ($fname != 'index.php') - && stristr($fname, '.php') != false) + && stristr($fname, '.php') != false && $fname[0] != '.') { unset($install); include_once($patchdir . $fname); @@ -171,6 +171,7 @@ if (get_post('Upgrade')) display_notification(_('All companies data has been successfully updated')); } unset($_SESSION['SysPrefs']); // re-read system setup + $_SESSION['SysPrefs'] = new sys_prefs(); $Ajax->activate('_page_body'); }