logo       

cvs: php-gtk-doc /scripts copy_images.php: msg#00022

php.gtk+.documentation

Subject: cvs: php-gtk-doc /scripts copy_images.php

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>
Google Custom Search

News | FAQ | advertise