cvs: php-gtk-doc /scripts copy_images.php
[email protected] ("Anant Narayanan") Fri, 08 Dec 2006 15:31:25 -0000
| Newsgroups | php.gtk.doc |
|---|---|
| Message-ID | <cvsanant1165591885@cvsserver> |
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 {