Ignore:
Timestamp:
Apr 28, 2010, 4:28:05 PM (14 years ago)
Author:
plg
Message:

feature 1630: upgrade to Piwigo 2.1 :-)

bug 1604: only activate core themes not all themes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/upgrade_1.7.0.php

    r5196 r5982  
    3333  }
    3434}
    35 
    36 define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db');
    37 
    38 list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
    39 define('CURRENT_DATE', $dbnow);
    4035
    4136// +-----------------------------------------------------------------------+
     
    8984echo '<pre>';
    9085
    91 for ($upgrade_id = 61; ; $upgrade_id++)
     86for ($upgrade_id = 61; $upgrade_id <= 79; $upgrade_id++)
    9287{
    9388  if (!file_exists(UPGRADES_PATH.'/'.$upgrade_id.'-database.php'))
     
    120115
    121116// now we upgrade from 2.0.0
    122 // include_once(PHPWG_ROOT_PATH.'install/upgrade_2.0.0.php');
     117include_once(PHPWG_ROOT_PATH.'install/upgrade_2.0.0.php');
    123118?>
Note: See TracChangeset for help on using the changeset viewer.