Commit d6a74bd
committed
fix: read XDK root from config files to prevent env var contamination
xdebug_setup_env_vars() sets the XDK env var to the full stack-specific
key (e.g. "slic_a1dc6067") during bootstrap. When a second stack is
registered, slic_stacks_xdebug_server_name() read that contaminated
value via getenv('XDK') and appended another hash, producing incorrect
keys like "slic_a1dc6067_ac80b3a1" instead of "slic_ac80b3a1".1 parent 465dd41 commit d6a74bd
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
587 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
588 | 595 | | |
589 | 596 | | |
590 | 597 | | |
| |||
0 commit comments