45 if (!isset($args[0]) || empty($args[0])) {
49 $filePath =
$bearsamppRoot->getAliasPath() .
'/' . $args[0] .
'.conf';
50 if (!file_exists($filePath)) {
54 $fileContent = file_get_contents($filePath);
55 if (!preg_match(
'/^Alias \/' . $args[0] .
' "(.+)"/', $fileContent, $match)) {
59 $this->initValue = $args[0];
68 $filePath =
$bearsamppRoot->getAliasPath() .
'/' . $this->initValue .
'.conf';
69 $fileContent = file_get_contents($filePath);
70 preg_match(
'/^Alias \/' . $this->initValue .
' "(.+)"/', $fileContent, $match);
74 $this->wbLabelName = $bearsamppWinbinder->createLabel(
77 15, 15, 85,
null, WBC_RIGHT
79 $this->wbInputName = $bearsamppWinbinder->createInputText(
85 $this->wbLabelDest = $bearsamppWinbinder->createLabel(
88 15, 45, 85,
null, WBC_RIGHT
90 $this->wbInputDest = $bearsamppWinbinder->createInputText(
93 105, 43, 190,
null,
null, WBC_READONLY
95 $this->wbBtnDest = $bearsamppWinbinder->createButton(
101 $this->wbLabelExp = $bearsamppWinbinder->createLabel(
220 $bearsamppWinbinder->setText(
224 $bearsamppWinbinder->setEnabled(
232 $aliasDest = $bearsamppWinbinder->sysDlgPath(
237 if ($aliasDest && is_dir($aliasDest)) {
239 $bearsamppWinbinder->setText(