src/PhpConsole/EvalProvider.php
protected function applyOpenBaseDirSetting() {
		if($this->openBaseDirs) {
			$value = implode(PATH_SEPARATOR, $this->openBaseDirs);
			if(ini_get('open_basedir') != $value) {
				$this->forcePhpConsoleClassesAutoLoad();
				if(ini_set('open_basedir', $value) === false) {
					throw new \Exception('Unable to set "open_basedir" php.ini setting');
				}
			}
		}
	}
protected function applyOpenBaseDirSetting() {
		if($this->openBaseDirs) {
			$value = implode(PATH_SEPARATOR, $this->openBaseDirs);
			if(ini_get('open_basedir') != $value) {
				$this->forcePhpConsoleClassesAutoLoad();
				if(ini_set('open_basedir', $value) === false) {
					throw new \Exception('Unable to set "open_basedir" php.ini setting');
				}
			}
		}
	}
protected function applyOpenBaseDirSetting ( ) { if ( $ this -> openBaseDirs ) { $ value = implode ( PATH_SEPARATOR , $ this -> openBaseDirs ) ; if ( ini_get ( 'open_basedir' ) != $ value ) { $ this -> forcePhpConsoleClassesAutoLoad ( ) ; if ( ini_set ( 'open_basedir' , $ value ) === false ) { throw new \ Exception ( 'Unable to set "open_basedir" php.ini setting' ) ; } } } }
Set actual "open_basedir" PHP ini option
@throws \Exception
@codeCoverageIgnore
Set actual open_basedir PHP ini option