There are lots of places used global variables like "APPPATH" or "PATH_THIRD"
$path = ($native) ? APPPATH.$type.$pkg_name.'/' : PATH_THIRD.$pkg_name.'/';
I am having trouble with the $path value as it returned null. So I want to figure out where to set APPPATH variable?
In extensions.php, EE try to load modules. However, $path returns null