Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.7

Bug #2902 DBTools->copySafe($outPath);
Submitted: 2004-12-05 17:24 UTC
From: tanguy dot pruvot at laposte dot net Assigned: firman
Status: Closed Package: DB_Sqlite_Tools
PHP Version: 5.0.1 OS: Win32
Roadmaps: (Not assigned)    
Subscription  


 [2004-12-05 17:24 UTC] tanguy dot pruvot at laposte dot net
Description: ------------ DBTools->copySafe($outPath) has a problem... at line 470 you coded : $clone = @copy($databases, $path.$databases.'.bkp'); here $databases could include a path, static or relative.. but $path.$databases is not correct, you need to keep only filename to concate it to $path... Reproduce code: --------------- include_once('DB/Sqlite/Tools.php'); $DBTools = new DB_Sqlite_Tools($GLOBALS['workDb']->baseName); $DBTools->copySafe($outPath); $DBTools->createXMLDumps($outPath);

Comments

 [2006-05-20 19:19 UTC] firman (Firman Wandayandi)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/DB_Sqlite_Tools