Skip to content

Commit 24af393

Browse files
committed
Update example.php
Change the example of Monitor class useage. $ids = new Monitor($request,$init); $ids->run(); to $ids = new Monitor($init); $ids->run($request);
1 parent b30c326 commit 24af393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666
$init->config['Caching']['caching'] = 'none';
6767

6868
// 2. Initiate the PHPIDS and fetch the results
69-
$ids = new Monitor($request, $init);
69+
$ids = new Monitor($init);
7070

71-
$result = $ids->run();
71+
$result = $ids->run($request);
7272

7373
/*
7474
* That's it - now you can analyze the results:

0 commit comments

Comments
 (0)