-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why module.meta.php is used to cache module data #1406
Comments
well, we have several cache issue there too. in fact, we do not use cache on our sites.
@linzongshu seems you are using the multi-site feature of Pi ? is it possible to install once the core code (/var, /lib, /usr) and run several websites (/www directories) on this only 1 core? |
@Marc-pi We had did the multi-site deploy when I worked at EEFOCUS. It has so many community sites look same, and we make them share one core code. And use config files to separate them. Please refer these sites: http://ams.eefocus.com/ |
@linzongshu good, that's exactly what i need (3 websites, 3db, 1 core, same modules). is there a doc somewhere or it is a custom Pi? |
@Marc-pi
|
@linzongshu thanks, will try. it will permit us the share server costs. |
Module data already store into database when modules are operated (create, update, disable), but I find a module.meta.php is created and updated when modules been operated, and it provides module data each execution. This design might occur two problem:
If the permission of module.meta.php is not 777, its data will not be update when a module is created. We will find that module installed successful but its actions are still not found.
When you deployed codes into multiple server, and then do the module operation. It's a problem to synchronize the config to other servers.
@taiwen
The text was updated successfully, but these errors were encountered: