Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
34f2bdcf
Commit
34f2bdcf
authored
Dec 20, 2018
by
Gerald Salin
Browse files
#99
delete date for a purge demand somtimes fails
parent
7162812c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/lib/class.tx_nG6_utils.php
View file @
34f2bdcf
...
...
@@ -145,7 +145,7 @@ class tx_nG6_utils {
if
(
!
ssh2_auth_password
(
$connection
,
$user_login
,
$user_pwd
)){
return
2
;
}
$stream
=
ssh2_exec
(
$connection
,
'ls '
.
$directory
.
'/
*
'
);
$stream
=
ssh2_exec
(
$connection
,
'ls
-d
'
.
$directory
.
'/'
);
$errorStream
=
ssh2_fetch_stream
(
$stream
,
SSH2_STREAM_STDERR
);
// Enable blocking for both streams
stream_set_blocking
(
$errorStream
,
true
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment