10 lines
145 B
PHP
10 lines
145 B
PHP
|
<?php
|
||
|
|
||
|
$data = $_GET["data"];
|
||
|
// ruleid: unlink-use
|
||
|
unlink("/storage/" . $data . "/test");
|
||
|
|
||
|
// ok: unlink-use
|
||
|
unlink('/storage/foobar/test');
|
||
|
|
||
|
?>
|