Skip to content

Commit ed6d56b

Browse files
authoredJan 23, 2020
Update Servyy.php
1 parent d4957c2 commit ed6d56b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Servyy.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private function getCommand($type, $data = null)
117117
case 'perl': $command = 'perl -v'; break;
118118
case 'python': $command = 'python --version'; break;
119119
case 'ruby': $command = 'ruby --version'; break;
120-
case 'ls': $command = 'ls -'.($data['showHiddenFiles']=='true'?'a':'').'FlQ --time-style long-iso --group-directories-first '.$data['file']; break;
120+
case 'ls': $command = 'ls -'.(($data['showHiddenFiles']??null)=='true'?'a':'').'FlQ --time-style long-iso --group-directories-first '.($data['file']??null); break;
121121
case 'cat': $command = 'cat '.$data['file']; break;
122122
}
123123

@@ -1009,4 +1009,4 @@ public function rcp($value)
10091009
<script src="//jamsouf.github.io/servyy/assets/js/highlight.pack.js"></script>
10101010
<script src="//jamsouf.github.io/servyy/assets/js/main.js"></script>
10111011
</body>
1012-
</html>
1012+
</html>

0 commit comments

Comments
 (0)