Not working for the current AppGini version
susith007 opened this issue · 1 comments
susith007 commented
The output in v2 is:
`
( ! ) Warning: array_merge(): Argument #1 is not an array in C:\wamp64\www\apitest\lib.php on line 39 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0014 | 356576 | {main}( ) | ...\index.php:0 |
2 | 0.2066 | 2119480 | include( 'C:\wamp64\www\apitest\lib.php' ) | ...\index.php:510 |
3 | 0.2072 | 2119960 | array_merge ( ) | ...\lib.php:39 |
susith007 commented
Found the solution:
You have to include config.php in the lib.php file for the newer AppGini version eg. 5.92
Add
include_once("$currDir/config.php");
to lib.php in the root folder