File tree 3 files changed +10
-13
lines changed
3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " udger/udger-parser -v4" ,
2
+ "name" : " udger/udger-php -v4" ,
3
3
"description" : " PHP agent string parser based on Udger https://udger.com/products/local_parser" ,
4
4
"type" : " library" ,
5
5
"license" : " MIT" ,
6
6
"version" : " 4.0.0" ,
7
7
"autoload" : {
8
8
"psr-4" : {
9
- "Udger\\ UdgerParserV4 \\ " : " src/"
9
+ "Udger\\ " : " src/"
10
10
}
11
11
},
12
12
"authors" : [
13
13
{
14
- "name" : " The Udger.com Team"
14
+ "name" : " The Udger.com Team" ,
15
+
15
16
}
16
17
],
17
18
"minimum-stability" : " dev" ,
18
19
"require" : {
20
+ "php" : " >=5.5.0" ,
19
21
"ext-sqlite3" : " *"
20
22
}
21
23
}
Original file line number Diff line number Diff line change 1
1
<?php
2
- require_once dirname ( __DIR__ ) . '/vendor/autoload.php ' ;
2
+ require_once __DIR__ . '/vendor/autoload.php ' ;
3
3
4
4
// creates a new UdgerParser object
5
5
$ factory = new Udger \ParserFactory (sys_get_temp_dir () . "/udgercache/udgerdb_v4.dat " );
6
6
$ parser = $ factory ->getParser ();
7
- $ parser ->setCacheEnable (false );
7
+
8
+ //$parser->setCacheEnable(false);
8
9
//$parser->setCacheSize(4000);
9
10
10
11
try {
Original file line number Diff line number Diff line change 8
8
*
9
9
* @author tiborb
10
10
*/
11
- class ParserFactory {
12
-
13
- /**
14
- *
15
- * @var string
16
- */
17
- private $ loggerName = 'udger ' ;
18
-
11
+ class ParserFactory {
12
+
19
13
20
14
/**
21
15
* @var string $dataFile path to the data file
You can’t perform that action at this time.
0 commit comments