File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ public static function create()
2626 self ::Path . '/bootstrap/cache ' ,
2727 self ::Path . '/framework/cache ' ,
2828 self ::Path . '/framework/views ' ,
29+ self ::Path . '/psysh ' ,
2930 ];
3031
3132 $ directories = array_filter ($ directories , static fn ($ directory ) => ! is_dir ($ directory ));
Original file line number Diff line number Diff line change 1515
1616 MaintenanceMode::setUp ();
1717
18+ // Move the location of the PsySH config cache to `/tmp` (because it is writable)
19+ $ xdgHome = StorageDirectories::Path . '/psysh ' ;
20+ $ _SERVER ['XDG_CONFIG_HOME ' ] = $ _ENV ['XDG_CONFIG_HOME ' ] = $ xdgHome ;
21+ putenv ("XDG_CONFIG_HOME= $ xdgHome " );
22+
1823 $ defaultConfigCachePath = $ _SERVER ['LAMBDA_TASK_ROOT ' ] . '/bootstrap/cache/config.php ' ;
1924
2025 if (file_exists ($ defaultConfigCachePath )) {
You can’t perform that action at this time.
0 commit comments