Ecr_Log("security", "Upload File", $log_dir . "/" . $filename . " IP=>" . getip()); } } else { $Err = $auto[1]; } } } } break; // Répertoires // Répertoires case "createdir": if ($dircmd_fma[0]) { $auto = fma_filter("d", $userdir, $obj->Extension); if ($auto[0]) { if (!$obj->Create("d", $base . "/" . $auto[2])) { $Err = $obj->Errors; } else { Ecr_Log("security", "Create Directory", $log_dir . "/" . $userdir . " IP=>" . getip()); $fp = fopen($base . "/" . $auto[2] . "/.htaccess", 'w'); fputs($fp, "Deny from All"); fclose($fp); } } else { $Err = $auto[1]; } } break; case 'renamedir': if ($dircmd_fma[1]) { $auto = fma_filter('d', $att_name, $obj->Extension);