- Replace direct require of TYPEPHP_ROOT_PATH . '/vendor/autoload.php' with resolveComposerAutoloader() function - Add new resolveComposerAutoloader() function to locate Composer autoloader from multiple candidate paths - Support both source checkout and packaged SDK environments by checking TYPEPHP_ROOT_PATH and PHP_HOME - Implement fallback mechanism to search for vendor/autoload.php in different locations - Add detailed error reporting when autoloader is not found with specific search paths - Include installation instructions in error output when dependencies are missing - Exit with error code 1 when autoloader cannot be locatedmaster
parent
1b8826338f
commit
74cbff1465
1 changed files with 38 additions and 1 deletions
Loading…
Reference in new issue