Skip to content

Commit f7aa057

Browse files
committed
Update create_directory.php
1 parent 2eef0cb commit f7aa057

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

example/create_directory.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
try {
4-
$obj = new phdfs();
5-
$obj->port = "9000";
6-
$obj->ip = "127.0.0.1";
4+
$obj = new phdfs("127.0.0.1","9000");
75
$obj->connect();
86
$log = $obj->create_directory('/a/b/c/');
97
} catch (Exception $ex) {
108
var_dump($ex->getMessage());
119
}
12-
?>
10+
?>

0 commit comments

Comments
 (0)