Skip to content
Snippets Groups Projects
Commit 225001d7 authored by chris's avatar chris
Browse files

minor fix in plugin manager

darcs-hash:20060724193727-9b6ab-e1e9368fc18d674bd027bbfd03245e7b52944e67.gz
parent 677844af
No related branches found
No related tags found
No related merge requests found
......@@ -669,7 +669,7 @@ class ap_manage {
if (!$dh = @opendir($src)) return false;
if ($ok = ap_mkdir($dst)) {
while ($ok && $f = readdir($dh)) {
while ($ok && (false !== ($f = readdir($dh))) {
if ($f == '..' || $f == '.') continue;
$ok = ap_copy("$src/$f", "$dst/$f");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment