Restrict require to global scope and track required files independently
Build / AerScript (push) Successful in 40s
Build / AerScript (push) Successful in 40s
This commit is contained in:
+5
-1
@@ -3024,7 +3024,11 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
|
||||
if(rc == PH7_OK) {
|
||||
if(bPushInclude) {
|
||||
/* Mark as included */
|
||||
PH7_VmPushFilePath(pVm, sFilePath, -1, FALSE, pNew);
|
||||
rc = PH7_VmPushFilePath(pVm, sFilePath, -1, FALSE, pNew);
|
||||
if(rc != SXRET_OK) {
|
||||
PH7_StreamCloseHandle(pStream, pHandle);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user