90 $this->enable = $this->enable &&
$bearsamppConfig->getRaw(self::ROOT_CFG_ENABLE);
92 if ($this->bearsamppConfRaw !==
false) {
93 $this->exe = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_EXE];
94 $this->conf = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_CONF];
95 $this->vars = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_VARS];
96 $this->npm = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_NPM];
97 $this->launch = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_LAUNCH];
100 if (!$this->enable) {
104 if (!is_dir($this->currentPath)) {
108 if (!is_dir($this->symlinkPath)) {
112 if (!is_file($this->bearsamppConf)) {
116 if (!is_file($this->exe)) {
119 if (!is_file($this->conf)) {
122 if (!is_file($this->vars)) {
125 if (!is_file($this->npm)) {
128 if (!is_file($this->launch)) {