mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
make example script 'safe'
This commit is contained in:
parent
b61e738018
commit
c97dee758e
1 changed files with 0 additions and 2 deletions
|
|
@ -12,8 +12,6 @@ if (Server::NativeAvailable()) {
|
||||||
|
|
||||||
$share = $server->getShare('test');
|
$share = $server->getShare('test');
|
||||||
|
|
||||||
$share->put(__FILE__, 'example.php');
|
|
||||||
|
|
||||||
$files = $share->dir('/');
|
$files = $share->dir('/');
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
echo $file->getName() . "\n";
|
echo $file->getName() . "\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue