task #5405 Quick Code

This commit is contained in:
sparkyx 2006-04-15 01:24:15 +00:00
parent 8cc58312f5
commit 05720cb4fb
2 changed files with 314 additions and 0 deletions

View file

@ -407,6 +407,9 @@ if ( DEBUG=='false' ) ob_start();
if ( GetVersion($db) == 8 ) {
ExecuteScript($db,'sql/patch/upgrade8.sql');
} // version == 9
if ( GetVersion($db) == 9 ) {
ExecuteScript($db,'sql/patch/upgrade9.sql');
} // version == 8->9
if ( DEBUG == 'false') ob_end_clean();
}//for
@ -463,6 +466,11 @@ if (DEBUG == 'false' ) ob_start();
if ( GetVersion($db) == 8 ) {
ExecuteScript($db,'sql/patch/upgrade8.sql');
} // version == 9
// update to the version 10
//--
if ( GetVersion($db) == 9 ) {
ExecuteScript($db,'sql/patch/upgrade9.sql');
} // version == 9
if ( DEBUG == 'false') ob_end_clean();
}