From: Rene R. <ren...@us...> - 2003-01-08 15:55:55
|
Update of /cvsroot/bobs/bobs/inc/templates In directory sc8-pr-cvs1:/tmp/cvs-serv16016/inc/templates Modified Files: backup_create_databases.php Log Message: Fix database creation. All files should now be visible in the browser. Fix backup.php to have a full tag Index: backup_create_databases.php =================================================================== RCS file: /cvsroot/bobs/bobs/inc/templates/backup_create_databases.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- backup_create_databases.php 29 Oct 2002 03:15:43 -0000 1.1 +++ backup_create_databases.php 8 Jan 2003 15:55:50 -0000 1.2 @@ -109,7 +109,7 @@ $path = dba_fetch($ckey, $id); if ( $path !== $prev_path ) { dba_insert($prev_path, "range:$prev_ckey:$ckey|",$dir_id); - $dir_tree[] = $path; + $dir_tree[] = $prev_path; $prev_path = $path; $prev_ckey = $ckey; } @@ -117,7 +117,8 @@ $ckey = $ckey+100; } // insert the last entry which is not matched by the above loop - $ckey = $ckey-100; + $dir_tree[] = $prev_path; +// $ckey = $ckey-100; dba_insert($prev_path, "range:$prev_ckey:$ckey|",$dir_id); // close the databases dba_close ($id); |