cvs: php-gtk-doc /scripts copy_images.php
| From: | Anant Narayanan | Date: | Fri, 08 Dec 2006 15:31:25 +0000 |
| Subject: | cvs: php-gtk-doc /scripts copy_images.php | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-3124@lists.php.net to get a copy of this message | ||
anant Fri Dec 8 15:31:25 2006 UTC
Modified files:
/php-gtk-doc/scripts copy_images.php
Log:
Oops, correct silly mistake...
http://cvs.php.net/viewvc.cgi/php-gtk-doc/scripts/copy_images.php?r1=1.2&r2=1.3&diff_format=u
Index: php-gtk-doc/scripts/copy_images.php
diff -u php-gtk-doc/scripts/copy_images.php:1.2 php-gtk-doc/scripts/copy_images.php:1.3
--- php-gtk-doc/scripts/copy_images.php:1.2 Fri Dec 8 15:21:39 2006
+++ php-gtk-doc/scripts/copy_images.php Fri Dec 8 15:31:25 2006
@@ -19,7 +19,7 @@
if ($file != "." && $file != ".." && $file !=
"CVS") {
$fulldest = $dest.substr(getcwd(), strpos(getcwd(),
'images')-1)."/$file";
if (is_dir($file)) {
- if (is_dir($file))
+ if (!file_exists($fulldest))
mkdir($fulldest, 0777);
copy_images(realpath($file), $dest, $count);
} else {