问题
I try to provide my model files in server that can be shared to the different clients application.
Consider the following Theoretical image,
provide model files as cdn link
I don't know how to achieve this.
Please give suggestion to solve my problem?
回答1:
It depends on how you're fetching models from other server.
If you're fetching as a files with php
extension and saving temporarily in your server, then you have to give path of that directory in /system/core/Loader.php
file, where it looks for models in directory to load.
See screenshot below:
来源:https://stackoverflow.com/questions/46954911/how-to-load-model-from-one-server-to-different-client-application-for-provide-da