The path to the file that needs to be included has been set to include_path in advance by Set_include_path,
Then use the Require to load the file, directly write the relative path of the file,
Normally, the inside of the program can automatically load the files in the require according to the include_path,
But now the problem is that this approach is often effective, often ineffective, that is, sometimes the load fails, but the refresh and load successfully.
This problem does not occur if the absolute path to the file is used directly in require.
Reply content:
The path to the file that needs to be included has been set to include_path in advance by Set_include_path,
Then use the Require to load the file, directly write the relative path of the file,
Normally, the inside of the program can automatically load the files in the require according to the include_path,
But now the problem is that this approach is often effective, often ineffective, that is, sometimes the load fails, but the refresh and load successfully.
This problem does not occur if the absolute path to the file is used directly in require.
Excuse me, is the same page load the file when the time valid for a while invalid?