Skip to content

Commit 74f3044

Browse files
committed
Update connect.php
1 parent 526f65c commit 74f3044

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

example/connect.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
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
$log = $obj->connect();
86
} catch (Exception $ex) {
97
var_dump($ex->getMessage());
108
}
11-
?>
9+
?>

0 commit comments

Comments
 (0)