Changeset 11510 for branches/2.2/include


Ignore:
Timestamp:
Jun 25, 2011, 11:03:39 PM (13 years ago)
Author:
plg
Message:

bug 2364 fixed: if database upgrade is missing, we redirect to upgrade.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/include/common.inc.php

    r10131 r11510  
    133133
    134134load_conf_from_db();
     135
     136// Version 2.2 specific, in case of problem during automatic upgrade
     137if (!isset($conf['week_starts_on']))
     138{
     139  redirect(get_root_url().'upgrade.php');
     140}
     141
    135142load_plugins();
    136143
Note: See TracChangeset for help on using the changeset viewer.