equal
deleted
inserted
replaced
52 |
52 |
53 // Upgrade success |
53 // Upgrade success |
54 if ( getConfig('newly_upgraded') ) |
54 if ( getConfig('newly_upgraded') ) |
55 { |
55 { |
56 setConfig('newly_upgraded', false); |
56 setConfig('newly_upgraded', false); |
|
57 // FIXME this check only works for going up to 1.1.8 |
57 echo '<div class="acphome-box notice">' |
58 echo '<div class="acphome-box notice">' |
58 . '<h3>' . $lang->get('acphome_msg_upgrade_success_title') . '</h3>' |
59 . '<h3>' . $lang->get('acphome_msg_upgrade_success_title') . '</h3>' |
59 . '<p>' . $lang->get('acphome_msg_upgrade_success_body') . '</p>' |
60 . '<p>' . ( $lang->get('acphome_msg_upgrade_success_body') === 'acphome_msg_upgrade_success_body' ? ' |
|
61 Enano has been upgraded successfully, but you should <b>re-import the language</b> to fix missing and un-localized strings. |
|
62 ' : $lang->get('acphome_msg_upgrade_success_body') ) . '</p>' |
60 . '</div>'; |
63 . '</div>'; |
61 } |
64 } |
62 |
65 |
63 // Check for the installer scripts |
66 // Check for the installer scripts |
64 if( file_exists(ENANO_ROOT.'/install/install.php') && !defined('ENANO_DEMO_MODE') ) |
67 if( file_exists(ENANO_ROOT.'/install/install.php') && !defined('ENANO_DEMO_MODE') ) |