We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a0436 commit d909462Copy full SHA for d909462
src/interceptors/terminal-wrappers/prepend.php
@@ -4,4 +4,15 @@
4
'http' => array('proxy' => 'localhost:8000')
5
)
6
);
7
+
8
+ // We've overridden php.ini to ensure this runs. We should go back to
9
+ // php.ini, check if there was a previous value, and ensure that
10
+ // gets run as well, to make sure we don't break anything.
11
+ $phpIniLocation = php_ini_loaded_file();
12
+ if ($phpIniLocation) {
13
+ $phpIniContents = parse_ini_file($phpIniLocation);
14
+ if ($phpIniContents['auto_prepend_file']) {
15
+ require($phpIniContents['auto_prepend_file']);
16
+ }
17
18
?>
0 commit comments