|
cvs: php-gtk-doc /scripts copy_images.php: msg#00022php.gtk+.documentation
anant Fri Dec 8 15:21:39 2006 UTC Modified files: /php-gtk-doc/scripts copy_images.php Log: Make directory only if it doesn't exist, patch thanks to Mike http://cvs.php.net/viewvc.cgi/php-gtk-doc/scripts/copy_images.php?r1=1.1&r2=1.2&diff_format=u Index: php-gtk-doc/scripts/copy_images.php diff -u php-gtk-doc/scripts/copy_images.php:1.1 php-gtk-doc/scripts/copy_images.php:1.2 --- php-gtk-doc/scripts/copy_images.php:1.1 Sun Mar 26 02:44:13 2006 +++ php-gtk-doc/scripts/copy_images.php Fri Dec 8 15:21:39 2006 @@ -19,7 +19,8 @@ if ($file != "." && $file != ".." && $file != "CVS") { $fulldest = $dest.substr(getcwd(), strpos(getcwd(), 'images')-1)."/$file"; if (is_dir($file)) { - mkdir($fulldest, 0777); + if (is_dir($file)) + mkdir($fulldest, 0777); copy_images(realpath($file), $dest, $count); } else { copy($file, $fulldest); -- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: php-gtk-doc /manual/zh_cn/tutorials gtk_pango_co.xml hello_world.xml helloadvanced.xml installation.xml translation.xml /stylesheets/common zh_cn.xml: 00022, Anant Narayanan |
|---|---|
| Next by Date: | cvs: php-gtk-doc /scripts copy_images.php: 00022, Anant Narayanan |
| Previous by Thread: | cvs: php-gtk-doc /manual/zh_cn/tutorials gtk_pango_co.xml hello_world.xml helloadvanced.xml installation.xml translation.xml /stylesheets/common zh_cn.xmli: 00022, Anant Narayanan |
| Next by Thread: | cvs: php-gtk-doc /scripts copy_images.php: 00022, Anant Narayanan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |