/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
composer
/
xdebug-handler
/
src
/
/home/techb158/ileadtechnology.com/vendor/composer/xdebug-handler/src
mkdir
upload
Name
Size
Mode
Actions
PhpConfig.php
1589
0644
edit
dl
rm
Process.php
5274
0644
edit
dl
rm
Status.php
4125
0644
edit
dl
rm
XdebugHandler.php
18804
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/composer/xdebug-handler/src/PhpConfig.php
(1589B)
<?php /* * This file is part of composer/xdebug-handler. * * (c) Composer <https://github.com/composer> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Composer\XdebugHandler; /** * @author John Stevenson <john-stevenson@blueyonder.co.uk> */ class PhpConfig { /** * Use the original PHP configuration * * @return array PHP cli options */ public function useOriginal() { $this->getDataAndReset(); return array(); } /** * Use standard restart settings * * @return array PHP cli options */ public function useStandard() { if ($data = $this->getDataAndReset()) { return array('-n', '-c', $data['tmpIni']); } return array(); } /** * Use environment variables to persist settings * * @return array PHP cli options */ public function usePersistent() { if ($data = $this->getDataAndReset()) { Process::setEnv('PHPRC', $data['tmpIni']); Process::setEnv('PHP_INI_SCAN_DIR', ''); } return array(); } /** * Returns restart data if available and resets the environment * * @return array|null */ private function getDataAndReset() { if ($data = XdebugHandler::getRestartSettings()) { Process::setEnv('PHPRC', $data['phprc']); Process::setEnv('PHP_INI_SCAN_DIR', $data['scanDir']); } return $data; } }
Save
cmd:
run