tbrehm
2010-09-26 b2cdd5f18498ac8b9a438b8a4ca49fd1d477dcb5

1 files modified
3 ■■■■ changed files
install/lib/installer_base.lib.php 3 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -234,9 +234,10 @@
        
        //** Get the database version number based on the patchfiles
        $found = true;
        $current_db_version = 1;
        while($found == true) {
            $next_db_version = intval($current_db_version + 1);
            $patch_filename = realpath(dirname(__FILE__).'/../../').'/sql/incremental/upd_'.str_pad($next_db_version, 4, '0', STR_PAD_LEFT).'.sql';
            $patch_filename = realpath(dirname(__FILE__).'/../').'/sql/incremental/upd_'.str_pad($next_db_version, 4, '0', STR_PAD_LEFT).'.sql';
            if(is_file($patch_filename)) {
                $current_db_version = $next_db_version;
            } else {