You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it correct to assume app/default/services is distributed? In other words if Amp is packaged, would it be distributed to every installation of Amp? I ask because a simple config command would not put ram_disk_type in my .amp repo, but Application.php assumes it's available.
The text was updated successfully, but these errors were encountered:
Correct -- app/default/services.yml is the read-only version distributed with the app. When a user performs configuration (with amp config via service config.repository) the local preferences are written out to ~/.amp/services.yml (which overrides any defaults from the distributed copy).
(In Application.php, the variable $appDir might be poorly named -- it really points to ~/.amp. When services/parameters are consumed at runtime, they are actually loaded via $configDirectories -- which is a search-path that includes both ~/.amp and app/default.)
Is it correct to assume app/default/services is distributed? In other words if Amp is packaged, would it be distributed to every installation of Amp? I ask because a simple config command would not put ram_disk_type in my .amp repo, but Application.php assumes it's available.
The text was updated successfully, but these errors were encountered: