128 $this->enable = $this->enable &&
$bearsamppConfig->getRaw(self::ROOT_CFG_ENABLE);
130 if ($this->bearsamppConfRaw !==
false) {
131 $this->exe = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_EXE];
132 $this->conf = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_CONF];
133 $this->vars = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_VARS];
134 $this->npm = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_NPM];
135 $this->launch = $this->symlinkPath .
'/' . $this->bearsamppConfRaw[self::LOCAL_CFG_LAUNCH];
138 if (!$this->enable) {
139 Log::info($this->name .
' is not enabled!');
143 if (!is_dir($this->currentPath)) {
148 if (!is_dir($this->symlinkPath)) {
153 if (!is_file($this->bearsamppConf)) {
158 if (!is_file($this->exe)) {
161 if (!is_file($this->conf)) {
164 if (!is_file($this->vars)) {
167 if (!is_file($this->npm)) {
170 if (!is_file($this->launch)) {